The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104639 Number of even digits in n^3. 7
0, 1, 1, 2, 1, 2, 1, 1, 1, 3, 0, 2, 1, 3, 0, 3, 1, 2, 2, 4, 2, 4, 2, 3, 2, 1, 2, 2, 3, 4, 1, 3, 0, 2, 3, 4, 2, 3, 0, 5, 3, 4, 1, 3, 1, 1, 3, 2, 2, 4, 2, 5, 3, 3, 2, 2, 1, 1, 2, 5, 4, 4, 4, 5, 4, 4, 3, 3, 3, 4, 0, 3, 2, 5, 3, 3, 2, 3, 2, 4, 2, 2, 1, 3, 3, 4, 3, 4, 3, 4, 0, 4, 3, 4, 1, 4, 2, 2, 2, 6 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A196563(n^3). - Michel Marcus, Oct 05 2013
MATHEMATICA
Table[Count[IntegerDigits[n^3], _?EvenQ], {n, 100}] (* _G. c. Greubel_, Aug 13 2018 *)
PROG
(PARI) a(n) = my(d = digits(n^3)); sum(i=1, #d, 1 - (d[i] % 2)); \\ Michel Marcus, Oct 05 2013
CROSSREFS
Sequence in context: A362951 A342464 A061342 * A260704 A161223 A145672
KEYWORD
easy,nonn,base
AUTHOR
Zak Seidov, Mar 18 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 14:46 EDT 2024. Contains 372533 sequences. (Running on oeis4.)