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.

A078454 Index of the first occurrence of prime(n) in A060324.

This page as a plain text file.
%I A078454 #6 Dec 05 2013 19:55:58
%S A078454 1,3,7,13,37,31,89,51,101,219,309,973,146,832,464,1031,2714,2352,6403,
%T A078454 311,6397,6352,1487,1439,20718,4252,11958,3719,1332,4136,14509,4601,
%U A078454 4223,12414,4043,38862,57949,20257,4958,4832,2213,96792,27932,261337
%N A078454 Index of the first occurrence of prime(n) in A060324.
%C A078454 Smallest k such that k*prime(n) + k - 1 is a prime.
%H A078454 Franklin T. Adams-Watters, <a href="/A078454/b078454.txt">Table of n, a(n) for n = 1..100</a>
%o A078454 Contribution from _Franklin T. Adams-Watters_, May 25 2010: (Start)
%o A078454 (PARI) A060324(n)=forprime(q=2,999999999,if(isprime(n*(q+1)-1),return(q)));-1
%o A078454 al(n)=local(v,k,xv);v=vector(n);while(n>0,xv=primepi(A060324(k++));if(xv<=#v&v[xv]==0,v[xv]=k;n--));v (End)
%Y A078454 Cf. A060324.
%K A078454 nonn
%O A078454 1,2
%A A078454 _Amarnath Murthy_, Dec 23 2002
%E A078454 More terms from _Franklin T. Adams-Watters_, May 25 2010