OFFSET
1,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MAPLE
MATHEMATICA
PROG
(Magma)
A121765:=[n: n in [1..350] | not IsPrime(6*n-1) and IsPrime(6*n+1)];
A121763:=[n: n in [1..350] | IsPrime(6*n-1) and not IsPrime(6*n+1)];
(Sage)
A121765=[n for n in (1..350) if not is_prime(6*n-1) and is_prime(6*n+1)];
A121763=[n for n in (1..350) if is_prime(6*n-1) and not is_prime(6*n+1)];
(GAP)
A121765:=Filtered([1..350], k-> not IsPrime(6*k-1) and IsPrime(6*k+1));;
A121763:=Filtered([1..350], n-> not IsPrime(6*n+1) and IsPrime(6*n-1));;
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jan 24 2010
EXTENSIONS
Entries checked by R. J. Mathar, May 22 2010
STATUS
approved