|
|
A336923
|
|
a(n) = 1 if sigma(2n) - sigma(n) is a power of 2, otherwise 0.
|
|
10
|
|
|
1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 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, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1
|
|
COMMENTS
|
a(n) = 1 if n is a squarefree product of Mersenne primes (A000668) multiplied by a power of 2, otherwise 0.
|
|
LINKS
|
|
|
FORMULA
|
Multiplicative with a(2^e) = 1, and for odd primes p, a(p^e) = A209229(p+1) if e = 1, and 0 if e > 1.
Multiplicative with a(p^e) = [p==2] + (A036987(p)*[e==1]), where [ ] is the Iverson bracket.
(End)
|
|
PROG
|
(PARI)
A209229(n) = (n && !bitand(n, n-1));
|
|
CROSSREFS
|
Characteristic function of A054784.
Cf. A000035, A000203, A000668, A002131, A005087, A036987, A046528, A054785, A062731, A209229, A331410, A335430, A336922, A359579 (Dirichlet inverse).
Cf. also A336477 (analogous sequence for Fermat primes).
|
|
KEYWORD
|
nonn,mult
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|