A066235 Numbers k such that the sum of digits of k! is a square.
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
Links
- Harry J. Smith, Table of n, a(n) for n = 1..120
Crossrefs
Cf. A004152.
Programs
-
Mathematica
Select[Range[0,1500],IntegerQ[Sqrt[Total[IntegerDigits[#!]]]]&] (* Harvey P. Dale, May 26 2020 *)
-
PARI
isok(m) = issquare(sumdigits(m!)) \\ Harry J. Smith, Feb 07 2010