OFFSET
1,2
COMMENTS
Note that all centered hexamorphic numbers end in the digits 1 and 7.
REFERENCES
C. Pickover, Wonders of Numbers, Oxford University Press, NY, 2001, p. 152-155.
LINKS
C. A. Pickover, "Wonders of Numbers, Adventures in Mathematics, Mind and Meaning," Zentralblatt review
EXAMPLE
127 is centered hexamorphic because it is the 7th centered hexagonal number and ends in 7. 817 is the 17th centered hexagonal and ends in 17.
PROG
(PARI) lista(nn) = {for (n=0, nn, my(m = 3*n*(n-1)+1); if ((m - n) % 10^#Str(n) == 0, print1(m, ", ")); ); } \\ Michel Marcus, Jun 21 2018
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jason Earls, Mar 18 2001
STATUS
approved
