login
A088770
a(n) = (A087683(n)-1)/2.
6
6, 10, 13, 16, 25, 28, 31, 34, 46, 49, 58, 70, 73, 91, 94, 100, 130, 133, 136, 151, 160, 163, 178, 181, 184, 199, 205, 214, 226, 238, 244, 256, 265, 283, 298, 301, 304, 325, 331, 364, 409, 424, 433, 436, 448, 478, 490, 493, 511, 514, 520, 529, 553, 556, 559
OFFSET
1,1
LINKS
MATHEMATICA
Rest[f[n_]:=PrimeQ[n - 10] && PrimeQ[n + 10]; lst={}; Do[If[f[n], AppendTo[lst, (n - 1) / 2]], {n, 5, 7!, 2}]; lst] (* Vincenzo Librandi, May 22 2017 *)
PROG
(Magma) [(n-1)/2: n in [8..2000] |IsPrime(n+10) and IsPrime(n-10)]; // Vincenzo Librandi, May 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Ray Chandler, Oct 26 2003
STATUS
approved