OFFSET
1,1
EXAMPLE
50 appears because 2*5*5 has 2 Pythagorean prime factors but only 1 non-Pythagorean prime factor.
MATHEMATICA
f[{x_, y_}] := If[Mod[x, 4] == 1, y, -y];
s[n_] := Map[f, FactorInteger[n]];
p[n_] := {Total[Select[s[n], # > 0 &]], -Total[Select[s[n], # < 0 &]]};
p[1] = {0, 0};
t = Table[p[n], {n, 1, 500}];
u = Map[First, t]; (* A083025 *)
v = Map[Last, t] ; (* A376961 *)
v - u (* A377625 *);
Flatten[Position[v - u, -1]] (* this sequence *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 30 2025
STATUS
approved
