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.

A238713 Least member of decadal prime triples: First prime beyond 10*A008470(n).

This page as a plain text file.
%I A238713 #11 Jan 19 2019 04:11:21
%S A238713 11,41,71,101,131,191,223,311,431,461,613,641,821,853,881,1031,1061,
%T A238713 1091,1301,1423,1451,1481,1601,1663,1693,1783,1871,1993,2081,2381,
%U A238713 2683,2711,3163,3251,3461,3671,3761,3911,4001,4091,4153,4211,4513,4721,4783,4931
%N A238713 Least member of decadal prime triples: First prime beyond 10*A008470(n).
%H A238713 Charles R Greathouse IV, <a href="/A238713/b238713.txt">Table of n, a(n) for n = 1..10000</a>
%F A238713 a(n) = nextprime(10*A008470(n)).
%o A238713 (PARI) for(d=1,999,primepi(10*(d+1))-primepi(10*d) >2|next; print1(nextprime(d*10+1)","))
%o A238713 (PARI) is(n)=my(t=n%10); if(t==1, isprime(n) && if(isprime(n+2), isprime(n+6) || isprime(n+8), isprime(n+6) && isprime(n+8)), t==3 && isprime(n) && !isprime(n-2) && isprime(n+4) && isprime(n+6)) \\ _Charles R Greathouse IV_, Mar 04 2014
%Y A238713 Cf. A008470, A008471, A238715.
%K A238713 nonn
%O A238713 1,1
%A A238713 _M. F. Hasler_, Mar 03 2014