A248920 Indices of primes in the pentanacci numbers sequence A000322.
5, 7, 13, 18, 19, 34, 35, 38, 43, 48, 188, 286, 450, 501, 759, 1446, 2021, 2419, 2997, 3715, 5677, 13566, 46303, 57174, 108844, 117145, 166683, 178863
Offset: 1
Links
- Tony D. Noe and Jonathan Vos Post, Primes in Fibonacci n-step and Lucas n-step Sequences, J. of Integer Sequences, Vol. 8 (2005), Article 05.4.4
Crossrefs
Programs
-
Mathematica
a={1,1,1,1,1}; For[n=5, n<=1000, n++, sum=Plus@@a; If[PrimeQ[sum], Print[n]]; a=RotateLeft[a]; a[[5]]=sum]
Comments