OFFSET
1,1
LINKS
V. Raman, Table of n, a(n) for n = 1..10000
FORMULA
a(n) >> n log^2 n.
a(n) = A216287(n) + 1.
EXAMPLE
The primes between 380 and 390 are 383 and 389. The primes in the previous decade are 373 and 379. Therefore 38 is in the sequence.
MATHEMATICA
Select[Range[2, 100], Mod[Prime[Range[PrimePi[NextPrime[10#]], PrimePi[10# + 10]]], 10] == Mod[Prime[Range[PrimePi[NextPrime[10# - 10]], PrimePi[10#]]], 10] (* Alonso del Arte, Dec 07 2012 *)
PROG
(PARI) for(i=2, 1000, if(isprime(10*i-9)==isprime(10*i+1)&&isprime(10*i-7)==isprime(10*i+3)&&isprime(10*i-3)==isprime(10*i+7)&&isprime(10*i-1)==isprime(10*i+9), print1(i", ")))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
V. Raman, Dec 07 2012
STATUS
approved