OFFSET
1,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A196564(n^3). - Michel Marcus, Oct 05 2013
MATHEMATICA
Table[Count[IntegerDigits[n^3], _?OddQ], {n, 100}] (* Harvey P. Dale, Jun 23 2017 *)
PROG
(PARI) a(n) = my(d = digits(n^3)); sum(i=1, #d, d[i] % 2); \\ Michel Marcus, Oct 05 2013
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Zak Seidov, Mar 18 2005
STATUS
approved