OFFSET
1,1
COMMENTS
The sum of the first n Fibonacci numbers is sequence A000071.
When we divide the sum by the largest Fibonacci number that divides the sum, we always get a Lucas number.
For n > 3, a(n+4) = a(n) + 2.
LINKS
Tanya Khovanova and the MIT PRIMES STEP senior group, Fibonacci Partial Sums Tricks, arXiv:2409.01296 [math.HO], 2024.
Index entries for linear recurrences with constant coefficients, signature (2,-2,2,-1).
FORMULA
G.f.: x*(x^6-2*x^5+2*x^4-2*x^3+x^2-x+2)/((x^2+1)*(x-1)^2). - Alois P. Heinz, Jul 25 2025
EXAMPLE
The sum of the first three Fibonacci numbers is 1+1+2=4. The largest Fibonacci that divides this sum is 2, the third Fibonacci number. Thus, a(3) = 2. After the division, we get 4/2 = 2, the zeroth Lucas number.
The sum of the first ten Fibonacci numbers is 143. The largest Fibonacci that divides this sum is 13, the seventh Fibonacci number. Thus, a(10) = 7. After the division, we get 143/13 = 11, the fifth Lucas number.
MATHEMATICA
LinearRecurrence[{2, -2, 2, -1}, {2, 3, 3, 2, 4, 5, 4}, 80] (* James C. McMahon, Apr 30 2024, updated by Sean A. Irvine, Jul 29 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Tanya Khovanova and the MIT PRIMES STEP senior group, Apr 17 2024
STATUS
approved
