OFFSET
1,2
COMMENTS
The first corresponding Fibonacci numbers are 1, 3, 13, 144, 21, 21, 34, 55, 89, 89, 144, 144, 233, 144, 233, ...
The first squares of the sequence are 1, 9, 36, 3600, ...
EXAMPLE
a(5)=18 because the sum of the 5 smallest divisors of 18, i.e., 1 + 2 + 3 + 6 + 9 = 21, is a Fibonacci number.
MATHEMATICA
Table[k=1; While[Nand[Length@#>=n, IntegerQ[Sqrt[5*Total@Take[PadRight[#, n], n]^2-4]]||IntegerQ[Sqrt[5*Total@Take[PadRight[#, n], n]^2+4]]]&@Divisors@k, k++]; k, {n, 1, 45}]
PROG
(PARI) isfib(n) = my(k=n^2); k+=(k+1)<<2; issquare(k) || (n>0 && issquare(k-8)) ;
a(n) = {my(k = 1); while((d=divisors(k)) && !((#d >= n) && isfib(sum(i=1, n, d[i]))), k++); k; } \\ Michel Marcus, Oct 01 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Sep 22 2017
STATUS
approved
