OFFSET
1
LINKS
EXAMPLE
MATHEMATICA
f[p_, e_] := NextPrime[p]^e; a[n_] := If[IntegerQ[Sqrt[8*Times @@ f @@@ FactorInteger[n] + 1]], 1, 0]; a[1] = 1; Array[a, 100] (* Amiram Eldar, Feb 12 2023 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Feb 12 2023
STATUS
approved