A361058 Least totient number k > 1 such that n*k is a nontotient number, or 0 if no such number exists.
0, 0, 30, 0, 10, 0, 2, 0, 10, 110, 22, 0, 2, 22, 6, 0, 2, 0, 2, 0, 54, 22, 10, 0, 2, 22, 22, 212983792, 6
Offset: 1
Examples
a(3) = 30 because 30 is in A002202 and 3*30 = 90 is in A007617.
Links
- Math Overflow, The range of the Euler totient function and multiplication by 28, 2018.
- Michel Marcus, Known results, Aug 11 2023.
Crossrefs
Programs
-
PARI
a(n) = if (vecsearch([1, 2, 4, 6, 8, 12, 16, 18, 20, 24], n), return(0)); my(k=2); while (istotient(n*k), k++; while (!istotient(k), k++)); k; \\ Michel Marcus, Mar 08 2023
-
PARI
check(n, k) = istotient(k) && !istotient(n*k); \\ Michel Marcus, Apr 05 2023; just for checking
Formula
a(n) = 0 if n is in A301587.
Comments