OFFSET
1,2
COMMENTS
Numbers k such that A061468(k) = phi(k) + d(k) is prime, and no smaller number gives the same value of A061468, sorted in order of the prime values.
All terms except 2 are squares, because if k > 2, phi(k) is even, and if d(k) is odd, k must be a square.
All numbers in this sequence are elements of A225983. For an example, this excludes all numbers of the form (6*m)^2 but only if m is not divisible by 6. - Thomas Scheuerle, Oct 20 2022
LINKS
Robert Israel, Table of n, a(n) for n = 1..3000
EXAMPLE
a(4) = 16 because phi(16) + d(16) = 8 + 5 = 13 = A357916(4), and no smaller number than 16 works.
MAPLE
N:= 10^6:
pmax:= evalf(N/(exp(gamma)*log(log(N))+3/log(log(N))));
V:= 'V': P:= {3}: V[3]:= 2:
for k from 1 to sqrt(N) do
n:= k^2;
v:= numtheory:-phi(n)+numtheory:-tau(n);
if v <= pmax and isprime(v) and not member(v, P) then
P:= P union {v}; V[v]:= n;
fi
od:
P:= sort(convert(P, list)):
seq(V[p], p=P);
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Oct 19 2022
STATUS
approved