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-1 of 1 results.

A138468 Number of even digits in Fibonacci numbers.

Original entry on oeis.org

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

Views

Author

Parthasarathy Nambi, May 18 2008

Keywords

Comments

Zero is counted as an even digit.

Examples

			The Fibonacci number 2584 has three even digits in it, so a(18) = 3.
		

Crossrefs

Programs

  • Mathematica
    Table[Total[Boole[EvenQ/@IntegerDigits[Fibonacci[n]]]],{n,0,96}] (* James C. McMahon, Jun 07 2025 *)

Formula

a(n) = A060384(n) - A136610(n). - Robert Israel, May 25 2017

Extensions

a(0) corrected, and more terms from Robert Israel, May 25 2017
Showing 1-1 of 1 results.