A053667 Product of digits of n^2.
0, 1, 4, 9, 6, 10, 18, 36, 24, 8, 0, 2, 16, 54, 54, 20, 60, 144, 24, 18, 0, 16, 128, 90, 210, 60, 252, 126, 224, 32, 0, 54, 0, 0, 30, 20, 108, 162, 64, 10, 0, 48, 168, 288, 162, 0, 12, 0, 0, 0, 0, 0, 0, 0, 108, 0, 54, 216, 216, 96, 0, 42, 384, 1458, 0, 80, 360, 1152, 192, 168, 0, 0, 160
Offset: 0
Examples
a(7)=36 because 7^2=49 and 4*9=36.
Links
- Harvey P. Dale, Table of n, a(n) for n = 0..1000
Programs
-
Mathematica
Times@@@IntegerDigits[Range[0,100]^2] (* Harvey P. Dale, May 30 2021 *)
-
PARI
a(n) = my(d = digits(n^2)); prod(i=1, #d, d[i]); \\ Michel Marcus, Jun 06 2014
Formula
a(n) = A007954(n^2). - Michel Marcus, Jun 06 2014