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!)
A303264 Indices of primes in tetranacci sequence A000078. 2
5, 9, 13, 14, 38, 58, 403, 2709, 8419, 14098, 31563, 50698, 53194, 155184 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
T = A000078 is defined by T(n) = Sum_{k=1..4} T(n-k), T(3) = 1, T(n) = 0 for n < 3.
The largest terms correspond to unproven probable primes T(a(n)).
LINKS
FORMULA
a(n) = A104534(n) + 2.
PROG
(PARI) a(n, N=5, S=vector(N, i, i>N-2))={for(i=N, oo, ispseudoprime(S[i%N+1]=2*S[(i-1)%N+1]-S[i%N+1])&&!n--&&return(i))}
CROSSREFS
Cf. A000045, A000073, A000078, A001591, A001592, A122189 (or A066178), ... (Fibonacci, tribonacci, tetranacci numbers).
Cf. A005478, A092836, A104535, A105757, A105759, A105761, ... (primes in Fibonacci numbers and above generalizations).
Cf. A001605, A303263, A303264, A248757, A249635, ... (indices of primes in A000045, A000073, A000078, ...).
Cf. A247027: Indices of primes in the tetranacci sequence A001631 (starting 0, 0, 1, 0...), A104534 (a variant: a(n) - 2), A105756 (= A248757 - 3), A105758 (= A249635 - 4).
Sequence in context: A304868 A080579 A325274 * A165971 A160522 A314651
KEYWORD
nonn,hard,more
AUTHOR
M. F. Hasler, Apr 18 2018
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 July 3 11:36 EDT 2024. Contains 373974 sequences. (Running on oeis4.)