Dodecagonal number | function for Dodecagonal number ; formula for find Dodecagonal nth term ; Driver code
< ? php function Dodecagonal_number ( $ n ) { return 5 * $ n * $ n - 4 * $ n ; } $ n = 7 ; echo Dodecagonal_number ( $ n ) , " STRNEWLINE " ; $ n = 12 ; echo Dodecagonal_number ( $ n ) , " STRNEWLINE " ; ? >