OFFSET
1,2
EXAMPLE
First occurrence of 4 in A182535 has index 16, so a(4)=16.
PROG
(PARI) { a(n) = my(k, p, t); k=n-1; while(1, k++; p=[]; forvec(v=vector(n-1, i, [1, k-1]), t = fibonacci(n+k) + sum(i=1, n-1, fibonacci(v[i]+i)); if(ispseudoprime(t), p=concat(p, [t])); , 2); if(p, return(primepi(vecmin(p)))); ); } /* Max Alekseyev, Jan 31 2014 */
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, May 05 2012
EXTENSIONS
Corrected and extended by Max Alekseyev, Jan 31 2014
STATUS
approved