OFFSET
0,2
LINKS
MATHEMATICA
f[x_] := Block[{m, i, n = x, p}, m = i = 1; While[n > 0, p = Prime[i]; m *= p^Mod[n, p]; n = Quotient[n, p]; i++]; m]; Array[GCD[2 # + 1, f[2 #]] &, 120, 0] (* Michael De Vlieger, Mar 10 2024 *)
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 10 2024
STATUS
approved