login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,3
LINKS
MATHEMATICA
Select[Range[0, 1500], IntegerQ[Sqrt[Total[IntegerDigits[#!]]]]&] (* Harvey P. Dale, May 26 2020 *)
PROG
(PARI) isok(m) = issquare(sumdigits(m!)) \\ Harry J. Smith, Feb 07 2010
CROSSREFS
Cf. A004152.
Sequence in context: A248902 A295668 A274556 * A037365 A083340 A118733
KEYWORD
base,nonn
AUTHOR
Jason Earls, Dec 19 2001
STATUS
approved