cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-10 of 11 results. Next

A085854 Number of 0's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 2, 2, 1, 1, 1, 1, 1, 3, 2, 0, 0, 0, 0, 0, 0, 2, 3, 2, 1, 1, 3, 1, 2, 1, 1, 3, 3, 3, 1, 2, 1, 3, 2, 2, 0, 1, 0, 2, 2, 1, 4, 0, 2, 0, 4, 2, 4, 5, 2, 3, 1, 4, 3, 0, 3, 1, 1, 3, 1, 5, 1
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Examples

			Fibonacci(15)=610, so a(15)=1 and Fibonacci(44)=701408733, so
a(44)=2.
		

Crossrefs

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

Programs

Extensions

Initial 1 for F(0) = 0 added upon Vladimir Joseph Stephan Orlovsky's comment, Jul 01 2011
Corrected by Robert Israel, Jan 03 2018

A085856 Number of 2's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

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
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Examples

			Fibonacci(33) = 3524578, so a(33)=1.
Fibonacci(87) = 679891637638612258, so a(87)=2.
		

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.

Programs

  • Maple
    f:= n -> numboccur(2,convert(combinat:-fibonacci(n),base,10)):
    map(f, [$0..200]); # Robert Israel, Nov 22 2020
  • Mathematica
    Table[DigitCount[Fibonacci[n]][[2]], {n, 0, 200}] (* Vladimir Joseph Stephan Orlovsky, Jul 01 2011 *)

A085857 Number of 3's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 1, 0, 1, 1, 1, 1, 0, 0, 2, 0, 1, 1, 2, 0, 0, 3, 2, 2, 3, 1, 0, 0, 0, 1, 1, 3, 0, 2, 2, 2, 0, 0, 0, 1, 2, 1, 1, 0, 1, 1, 1, 1, 2, 1, 0, 4, 1, 0, 1, 1, 3, 2, 2, 4, 1, 1, 2, 0, 1, 2, 2, 0, 1, 3, 2, 1, 1, 3, 2, 2, 3, 1, 1, 2, 2, 2, 3
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Crossrefs

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

Programs

A085858 Number of 4's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 4, 1, 1, 0, 0, 1, 2, 0, 1, 0, 0, 0, 2, 1, 1, 0, 1, 1, 1, 1, 2, 0, 0, 0, 3, 3, 2, 1, 0, 4, 1, 3, 1, 3, 1, 5, 4, 3, 1, 0, 3, 1, 1, 3, 0, 0, 3, 1, 2, 5, 1, 2, 4, 1, 4, 4, 1, 3, 4, 0, 0, 2
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Crossrefs

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

Programs

  • Mathematica
    DigitCount[Fibonacci[Range[0,110]],10,4] (* Harvey P. Dale, May 02 2011 *)

A085859 Number of 5's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 2, 0, 0, 0, 1, 0, 0, 0, 2, 1, 1, 1, 1, 0, 1, 2, 2, 0, 0, 0, 0, 0, 1, 1, 0, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 3, 1, 2, 2, 1, 2, 1, 3, 0, 0, 1, 1, 1, 3, 2, 2, 1, 3, 0, 0, 1, 0, 2, 3, 1, 4, 0, 1, 0, 0, 0, 2, 1, 1, 0, 1, 3, 0, 2, 4, 3, 1, 0, 3, 2
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Crossrefs

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

A085860 Number of 6's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 1, 0, 1, 2, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 1, 2, 0, 1, 2, 0, 0, 0, 1, 0, 2, 0, 2, 1, 0, 1, 2, 1, 0, 3, 1, 2, 0, 1, 0, 1, 1, 3, 0, 0, 1, 3, 0, 1, 1, 1, 2, 0, 3, 0, 1, 2, 3, 2, 2, 0, 4, 2, 2, 4, 2, 1, 2, 4, 2, 2, 2, 1, 1, 1, 2, 2, 1, 0, 2, 3, 0
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Crossrefs

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

Programs

  • Mathematica
    DigitCount[Fibonacci[Range[0,110]],10,6] (* Harvey P. Dale, Jun 19 2013 *)

A085861 Number of 7's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 1, 0, 0, 1, 0, 2, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 2, 1, 0, 2, 0, 0, 0, 0, 1, 1, 2, 1, 0, 2, 2, 4, 0, 1, 0, 1, 3, 0, 2, 0, 2, 1, 1, 2, 2, 2, 2, 4, 4, 1, 2, 1, 1, 1, 1, 0, 1, 3, 2, 4, 1, 2, 2, 2, 2, 2, 1, 0, 3, 2, 3, 4, 2, 1, 2, 2, 3, 0, 2, 2, 2, 0, 2, 3, 4, 2, 2
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Crossrefs

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

Programs

  • Mathematica
    DigitCount[Fibonacci[Range[0,110]],10,7] (* Harvey P. Dale, Jul 11 2020 *)

A085862 Number of 8's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 2, 0, 0, 1, 2, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 2, 1, 0, 2, 0, 2, 1, 2, 1, 1, 1, 3, 1, 1, 0, 0, 1, 2, 1, 1, 2, 0, 2, 1, 0, 3, 2, 0, 1, 3, 1, 1, 3, 2, 1, 3, 0, 1, 2, 2, 0, 5, 4, 1, 2, 2, 3, 1, 2, 3
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Crossrefs

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

Programs

  • Mathematica
    DigitCount[#,10,8]&/@Fibonacci[Range[00,250]] (* Harvey P. Dale, May 18 2011 *)

A085863 Number of 9's in decimal expansion of Fibonacci(n).

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 2, 1, 0, 0, 2, 1, 0, 1, 1, 1, 1, 1, 1, 0, 3, 1, 0, 1, 0, 1, 3, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 3, 4, 1, 2, 2, 3, 1, 1, 2, 3, 0, 0, 2, 2, 5, 0, 4, 2, 2, 1, 4, 1, 1, 1, 0, 2, 6, 0, 2, 1, 4, 2, 0, 6, 1, 4
Offset: 0

Views

Author

Jason Earls, Jul 06 2003

Keywords

Crossrefs

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

Programs

  • Mathematica
    DigitCount[#,10,9]&/@Fibonacci[Range[0,110]] (* Harvey P. Dale, Jan 10 2017 *)

A136610 Number of odd digits in Fibonacci numbers.

Original entry on oeis.org

0, 1, 1, 0, 1, 1, 0, 2, 1, 1, 2, 1, 1, 2, 3, 1, 2, 4, 1, 2, 2, 2, 5, 2, 1, 3, 5, 3, 5, 3, 1, 3, 4, 4, 3, 3, 5, 5, 4, 3, 6, 5, 4, 5, 5, 7, 7, 7, 4, 5, 4, 5, 6, 9, 5, 6, 8, 6, 7, 4, 6, 7, 8, 7, 7, 9, 7, 7, 5, 7, 10, 8, 6, 10, 8, 9, 6, 10, 8, 6, 6
Offset: 0

Views

Author

Parthasarathy Nambi, May 11 2008

Keywords

Examples

			1597 = Fibonacci(17) and has four odd digits, so a(17) = 4.
		

Crossrefs

Cf. A060384, A085855. - R. J. Mathar, Jul 08 2009

Programs

  • Maple
    nodss := proc(n) local dgs,d; dgs := convert(n,base,10) ; add( d mod 2, d=dgs) ; end: A136610 :=proc(n) nodss(combinat[fibonacci](n)) ; end: seq( A136610(n),n=0..80) ; # R. J. Mathar, Jul 08 2009
  • Mathematica
    a[n_]:=Total[Boole[OddQ/@IntegerDigits[Fibonacci[n]]]] (* James C. McMahon, May 06 2025 *)

Formula

a(n) = A196564(A000045(n)). - Michel Marcus, May 06 2025
a(n) = A060384(n) - A138468(n). - James C. McMahon, Jun 07 2025

Extensions

a(13) corrected and more terms added by R. J. Mathar, Jul 08 2009
Showing 1-10 of 11 results. Next