OFFSET
1,1
MATHEMATICA
f[n_] := DivisorSigma[0, n] - PrimeNu[n]; a[n_] := Module[{k = 2}, While[f[k] != (f[n*k + 1] - 1)/n, k++]; k]; Array[a, 29] (* Amiram Eldar, Mar 10 2022 *)
PROG
(PARI) f(n) = numdiv(n) - omega(n); \\ A033273
a(n) = my(k=2); while (f(k) != (f(n*k + 1) - 1)/n, k++); k; \\ Michel Marcus, Mar 10 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 09 2022
STATUS
approved