login
A360128
a(n) = 1 if there are no divisors d>1 of n such that also d+1 is a divisor of n, otherwise 0.
4
1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1
OFFSET
1
FORMULA
a(n) = [A088722(n) == 0], where [ ] is the Iverson bracket.
a(n) = [A129308(n) < 2] = [A328457(n) < 2].
PROG
(PARI) A360128(n) = !sumdiv(n, d, (d>1)&&!(n%(d+1)));
CROSSREFS
Characteristic function of A088725.
Sequence in context: A336834 A356173 A294934 * A174340 A300294 A071041
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 20 2023
STATUS
approved