login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A079075
"Memory" of fibonacci(n): the number of (previous) Fibonacci numbers contained as substrings in fibonacci(n).
1
0, 1, 0, 0, 0, 0, 3, 3, 1, 1, 1, 2, 2, 1, 2, 1, 3, 3, 3, 1, 2, 2, 3, 2, 2, 6, 3, 4, 4, 3, 6, 6, 4, 3, 2, 5, 5, 4, 4, 8, 5, 3, 2, 4, 5, 4, 6, 3, 2, 5, 5, 6, 5, 5, 7, 6, 5, 6, 4, 6, 6, 6, 7, 7, 4, 5, 8, 6, 3, 6, 7, 5, 6, 8, 6, 6, 5, 6, 8, 7, 6, 7, 6, 5, 5, 6, 7, 5, 4, 5, 6, 8, 7, 6, 5, 6, 8, 8, 10, 6
OFFSET
1,7
EXAMPLE
The (previous) Fibonacci numbers contained as substrings in fibonacci(7) = 13 are fibonacci(1) = 1, fibonacci(2) = 1, fibonacci(4) = 3. Hence a(7) = 3. 13 is the smallest Fibonacci number with memory = 3.
MATHEMATICA
ub = 100; tfib = Table[ToString[Fibonacci[i]], {i, 1, ub}]; a = {}; For[i = 1, i <= ub, i++, m = 0; For[j = 1, j < i, j++, If[Length[StringPosition[tfib[[i]], tfib[[j]]]] > 0, m = m + 1]]; a = Append[a, m]]; a
CROSSREFS
Cf. A079066.
Sequence in context: A014421 A127197 A114231 * A086703 A242849 A072917
KEYWORD
base,easy,nonn
AUTHOR
Joseph L. Pe, Feb 02 2003
STATUS
approved