login
A296212
a(n) = 1 if sigma(n) + 1 is prime, 0 otherwise.
3
1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0
OFFSET
1,1
COMMENTS
Characteristic function of A065512, numbers n such that sigma(n) + 1 is prime.
FORMULA
a(n) = A010051(1+A000203(n)) = A010051(A088580(n)).
PROG
(Scheme) (define (A296212 n) (A010051 (+ 1 (A000203 n))))
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 07 2017
STATUS
approved