OFFSET
0,2
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..10000
Rémy Sigrist, C++ program
FORMULA
a(A378242(n)) = n, and this is the first occurrence of n in the sequence.
a(n) = 2 iff n is a positive Fibonacci number.
EXAMPLE
PROG
(C++) // See Links section.
CROSSREFS
KEYWORD
nonn
AUTHOR
Rémy Sigrist, Nov 20 2024
STATUS
approved