OFFSET
1,2
COMMENTS
Positive noncomposite numbers of the form 4k + 1.
Positive noncomposite numbers in A020668.
FORMULA
A002144 UNION {1}. - R. J. Mathar, Jan 04 2017
PROG
(Magma) [1] cat [a: n in [0..200] | IsPrime(a) where a is 4*n + 1 ];
(PARI) is(n)=if(isprime(n), n%4==1, n==1) \\ Charles R Greathouse IV, Oct 10 2018
CROSSREFS
KEYWORD
nonn,easy,less
AUTHOR
Juri-Stepan Gerasimov, Dec 25 2016
STATUS
approved