|
|
A066235
|
|
Numbers k such that the sum of digits of k! is a square.
|
|
2
|
|
|
0, 1, 6, 7, 8, 11, 24, 26, 33, 34, 35, 41, 47, 49, 59, 64, 76, 79, 116, 159, 167, 186, 253, 285, 314, 345, 376, 405, 413, 445, 459, 478, 480, 513, 520, 526, 676, 710, 769, 797, 833, 843, 852, 898, 937, 1004, 1032, 1043, 1098, 1192, 1291, 1365, 1478, 1491, 1496
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Range[0, 1500], IntegerQ[Sqrt[Total[IntegerDigits[#!]]]]&] (* Harvey P. Dale, May 26 2020 *)
|
|
PROG
|
(PARI) SumD(x)= { local(s=0); while (x>9, s+=x%10; x\=10); return(s + x) } { n=0; for (m=0, 10^9, if (issquare(SumD(m!)), write("b066235.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Feb 07 2010
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|