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.

A101422 Minimal number of primes needed to sum to Fibonacci(n).

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 3, 2, 3, 1, 2, 3, 2, 2, 3, 1, 2, 3, 3, 2, 3, 1, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 1, 3, 2, 3, 1, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 1, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 3, 3, 2, 2, 3, 2, 3, 3, 2, 2, 3
Offset: 3

Views

Author

Giovanni Teofilatto, Jan 17 2005

Keywords

Examples

			a(5)=1 because Fibonacci(5)=5 is a prime.
a(6)=2 because Fibonacci(6)=8 = 3+5.
a(7)=1 because Fibonacci(7)=13 is a prime.
a(14)=3 because Fibonacci(14)=377 = 2+2+373.
		

Crossrefs

Formula

a(n) = A051034(A000045(n)).

Extensions

Edited and extended by Ray Chandler, Jan 18 2005