login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A085856 Number of 2's in decimal expansion of Fibonacci(n). 9
0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 2, 1, 1, 1, 1, 1, 2, 1, 1, 0, 1, 1, 0, 2, 0, 0, 0, 0, 2, 1, 1, 3, 1, 2, 1, 3, 1, 2, 2, 2, 3, 1, 1, 1, 1, 2, 0, 2, 2, 3, 0, 1, 2, 1, 0, 1, 1, 2, 1, 1, 4, 2, 1, 1, 0, 0, 3, 2, 2, 0, 0, 2, 0, 1, 3, 4, 0, 2, 3, 1, 4, 3, 0, 3, 3, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,30

LINKS

Table of n, a(n) for n=0..104.

EXAMPLE

Fibonacci(33) = 3524578, so a(33)=1 and

Fibonacci(87)=679891637638612258,

so a(87)=2.

MATHEMATICA

Table[DigitCount[Fibonacci[n]][[2]], {n, 0, 200}] (* Vladimir Joseph Stephan Orlovsky, Jul 01 2011 *)

CROSSREFS

Cf. 0's A085854, 1's A085855, 3's A085857, 4's A085858, 5's A085859, 6's A085860, 7's A085861, 8's A085862, 9's A085863.

Sequence in context: A154338 A087436 A053255 * A132126 A031264 A242073

Adjacent sequences:  A085853 A085854 A085855 * A085857 A085858 A085859

KEYWORD

base,nonn

AUTHOR

Jason Earls (zevi_35711(AT)yahoo.com), Jul 06 2003

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified October 20 00:14 EDT 2014. Contains 248320 sequences.