|
|
A182667
|
|
Smallest prime with n terms in its Zeckendorf representation.
|
|
1
|
|
|
2, 7, 17, 53, 197, 373, 983, 3803, 6709, 17333, 43783, 103681, 317789, 785671, 2177321, 5581493, 20632861, 38770357, 126491971, 331160281, 1070825143, 1836305137, 6643521067, 10749957121, 32951279111, 86252640919, 213265164691, 591286712167, 2126709216773
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Drmota, Müllner, & Spiegelhofer prove that a(n) exists for each n, see links. - Charles R Greathouse IV, Oct 18 2021
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The smallest prime with 3 terms in its Zeckendorf representation is a(3) = 17.
... with 17 = Fib(7) + Fib(4) + Fib(2) = 13 + 3 + 1. - Bernard Schott, Oct 19 2019
|
|
PROG
|
(PARI) a(n)=my(b=oo, k); while(b==oo, k++; forvec(v=vector(n, i, [1, n+k]), my(t=sum(i=1, n, fibonacci(i+v[i]))); if(t<b && isprime(t), b=t), 2)); b \\ Charles R Greathouse IV, Sep 21 2021
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|