login
A354033
a(n) = 1 if n > 1 and n is a power of a prime of the form 4m+3, otherwise 0.
4
0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1
OFFSET
1
FORMULA
a(n) = A174275(n) - A354031(n).
a(n) >= A354028(n).
PROG
(PARI) A354033(n) = { my(p=0); (isprimepower(n, &p) && (3==(p%4))); };
CROSSREFS
Characteristic function of A197504 \ {1}.
Sequence in context: A049320 A284817 A309766 * A328979 A358227 A284524
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 15 2022
STATUS
approved