A278833 Indices of records of A004090(n) - n, where A004090 is the sum of digits of the Fibonacci numbers A000045.
0, 6, 11, 16, 58, 178, 195, 273, 695, 862, 989, 2477, 2619
Offset: 1
Crossrefs
Programs
-
Mathematica
Function[t, Flatten@ Map[First@ Position[t, #] - 1 &, Union@ Rest@ FoldList[Max, 0, t]]]@ Table[Plus @@ IntegerDigits@ Fibonacci@n - n, {n, 0, 10^4}] (* Michael De Vlieger, Dec 28 2016 *)
-
PARI
m=-1; for(k=0, 1e4, sumdigits(fibonacci(k))-k>m&&print1(k", ")+m=sumdigits(fibonacci(k))-k)
Comments