cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A303263 Indices of primes in tribonacci sequence A000073.

This page as a plain text file.
%I A303263 #8 Apr 21 2018 18:29:09
%S A303263 4,6,7,11,87,98,215,802,4202,18699,96879
%N A303263 Indices of primes in tribonacci sequence A000073.
%C A303263 T = A000073 is defined by T(n+1) = T(n) + T(n-1) + T(n-2), T(2) = 1, T(1) = T(0) = 0.
%C A303263 The largest terms correspond to unproven probable primes T(a(n)).
%F A303263 a(n) = A092835(n) + 1 = index of A092836(n) in A000073.
%t A303263 -1 + Position[LinearRecurrence[{1, 1, 1}, {0, 0, 1}, 10^4], _?PrimeQ][[All, 1]] (* _Michael De Vlieger_, Apr 21 2018 *)
%o A303263 (PARI) a(n,N=4,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))}
%Y A303263 Cf. A000073 (= T), A092836 (= T(a(n))), A092835 (= a(n) - 1).
%Y A303263 Cf. A001605 (indices of primes in Fibonacci numbers A000045).
%K A303263 nonn,hard,more
%O A303263 1,1
%A A303263 _M. F. Hasler_, Apr 18 2018