A095086 Fib001 primes, i.e., primes p whose Zeckendorf-expansion A014417(p) ends with two zeros and final 1.
19, 43, 53, 61, 103, 137, 163, 179, 197, 229, 239, 263, 281, 307, 331, 349, 383, 433, 467, 509, 569, 577, 619, 653, 739, 773, 797, 823, 839, 857, 883, 907, 941, 967, 1009, 1051, 1061, 1069, 1103, 1129, 1153, 1171, 1187, 1213, 1229, 1289
Offset: 1
Keywords
Links
- A. Karttunen and J. Moyer, C-program for computing the initial terms of this sequence
Programs
-
Python
from sympy import fibonacci, primerange def a(n): k=0 x=0 while n>0: k=0 while fibonacci(k)<=n: k+=1 x+=10**(k - 3) n-=fibonacci(k - 1) return x def ok(n): return str(a(n))[-3:]=="001" print([n for n in primerange(1, 1301) if ok(n)]) # Indranil Ghosh, Jun 08 2017