login
A185705
Characteristic function of positive numbers that are primes ending in 1.
6
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
OFFSET
1
PROG
(PARI) A185705(n) = ((1==(n%10))&&isprime(n)); \\ Antti Karttunen, Sep 21 2018
CROSSREFS
Cf. A030430 (primes of the form 10*n+1).
Primes ending in 1,3,7,9: A185705, A185706, A185708, A185709.
Sequence in context: A037808 A023973 A297040 * A369667 A358773 A044941
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Feb 10 2011
STATUS
approved