login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104577 Indices of prime generalized tetranacci numbers, A073817. 5
2, 3, 8, 9, 16, 19, 24, 27, 46, 68, 71, 78, 107, 198, 309, 377, 477, 1057, 1631, 2419, 3974, 4293, 8247, 10513, 10709, 12011, 15042, 30543, 31607, 39664, 47552, 145858 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The sequence of generalized tetranacci numbers is defined as beginning with 1, 3, 7, 15. Subsequent terms are the sum of the previous four terms. Note that the sequence of these generalized tetranacci numbers has many more primes than the tetranacci sequence A000078 (whose prime indices are in A104534).
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
MATHEMATICA
a={-1, -1, -1, 4}; Do[s=Plus@@a; a=RotateLeft[a]; a[[4]]=s; If[PrimeQ[s], Print[n]], {n, 30000}]
CROSSREFS
Cf. A104576 (indices of prime generalized tribonacci numbers).
Sequence in context: A331821 A093765 A260020 * A309017 A247375 A282508
KEYWORD
nonn
AUTHOR
T. D. Noe, Mar 16 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)