OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
EXAMPLE
20 is a term because 25 is the least solution of 20 = A000010(x) and gcd(20,25) equals the number of solutions 5.
7812 is a term because 9121 is the least solution of 7812 = A000010(x) and gcd(7813,9121) equals the number of solutions 7.
1764 is not a term because 2107 is the least solution of 1764 = A000010(x) and gcd(1764,2107) = 49 does not equal the number of solutions 7.
PROG
(PARI) is(k) = gcd(k, invphiMin(k)) == invphiNum(k); \\ Amiram Eldar, Nov 16 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn
AUTHOR
Torlach Rush, Apr 15 2018
EXTENSIONS
More terms from Amiram Eldar, Nov 16 2024
STATUS
approved