login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A296211 a(n) = 1 if sigma(n)-1 is a prime, 0 otherwise. 3
0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1
COMMENTS
Characteristic function of A248792, numbers n such that sigma(n) - 1 is a prime.
LINKS
FORMULA
a(1) = 0; for n > 1, a(n) = A010051(A000203(n)-1) = A010051(A039653(n)).
a(n) >= A010051(n).
MATHEMATICA
Table[If[PrimeQ[DivisorSigma[1, n]-1], 1, 0], {n, 120}] (* Harvey P. Dale, Aug 20 2021 *)
PROG
(Scheme) (define (A296211 n) (if (= 1 n) 0 (A010051 (+ -1 (A000203 n)))))
CROSSREFS
Cf. A000203, A010051, A039653, A248792 (positions of ones), A296091, A296212.
Sequence in context: A030190 A353471 A157658 * A341642 A123506 A051105
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 07 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 21 04:02 EDT 2024. Contains 374463 sequences. (Running on oeis4.)