OFFSET
1
LINKS
MATHEMATICA
a[n_] := If[Mod[n, 9] == 3 && PrimePowerQ[n/3], 1, 0]; Array[a, 100] (* Amiram Eldar, Jun 15 2022 *)
PROG
(PARI) A354983(n) = ((3==(n%9)) && isprimepower(n/3));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 15 2022
STATUS
approved