login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A379955
a(n) = 1 if n = floor(prime(i)/2) * prime(i)^e, for some e, i > 0, otherwise 0, where prime(i) = A000040(i).
0
0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
OFFSET
1
PROG
(PARI) A379955(n) = { my(f=factor(n)); sum(i=1, #f~, ((n/(f[i, 1]^f[i, 2])) == (f[i, 1]\2))); };
CROSSREFS
Characteristic function of A379956.
Sequence in context: A200263 A373153 A051067 * A288858 A356313 A309218
KEYWORD
nonn,new
AUTHOR
Antti Karttunen, Jan 16 2025
STATUS
approved