OFFSET
1,1
COMMENTS
2, and primes p such that floor(p/2) or ceiling(p/2) is prime, but not both. - Robert Israel, Jan 23 2024
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= proc(n) if n mod 4 = 1
then isprime(n) and isprime((n+1)/2)
else isprime(n) and isprime((n-1)/2)
fi end proc:
2, 3, op(select(filter, [seq(i, i=7 .. 10000, 2)])); # Robert Israel, Jan 23 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 07 2009
EXTENSIONS
Entries checked by R. J. Mathar, May 30 2010
STATUS
approved