login
A119547
10-gonal numbers for which the sum of the digits is also a 10-gonal number.
1
0, 1, 10, 370, 451, 1540, 3052, 5967, 7965, 15687, 18837, 27972, 36576, 38907, 40501, 43785, 48951, 66177, 72495, 75762, 89550, 93177, 124785, 130501, 137826, 146880, 165852, 170775, 175770, 180837, 191187, 196470, 223965, 229680, 235467, 247257, 259335, 265482
OFFSET
1,3
LINKS
EXAMPLE
5967 is a decagonal number whose sum of digits 5+9+6+7 = 27 is also decagonal.
MATHEMATICA
sod[n_] := Plus @@ IntegerDigits[n]; decQ[n_] := n == 0 || IntegerQ[(Sqrt[64*n + 36] + 6)/16]; Select[Table[n*(4*n - 3), {n, 0, 300}], decQ[sod[#]] &] (* Amiram Eldar, Feb 06 2021 *)
PROG
(PARI) isok(n) = ispolygonal(n, 10) && ispolygonal(sumdigits(n), 10); \\ Michel Marcus, Feb 06 2021
CROSSREFS
Sequence in context: A079914 A051790 A220638 * A117797 A301311 A291530
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), May 28 2006
EXTENSIONS
a(1)=0 and a missing term inserted by Amiram Eldar, Feb 06 2021
STATUS
approved