A281816 Least k such that phi(k) is the sum of two totient numbers (A002202) in exactly n ways, or 0 if no such k exists.
1, 3, 11, 13, 23, 29, 37, 41, 81, 53, 67, 61, 73, 97, 103, 89, 109, 143, 139, 113, 137, 157, 149
Offset: 0
Examples
a(3) = 13 because phi(13) = 12 = 2 + 10 = 4 + 8 = 6 + 6; 2, 4, 6, 8, 10 are in A002202 and 13 is the least number with this property.
Programs
-
PARI
c(n) = sum(k=1, n\2, istotient(k) && istotient(n-k)); a(n) = my(k=1); while(c(eulerphi(k)) != n, k++); k;
Extensions
a(0) = 1 prepended by Chai Wah Wu, Feb 03 2017
Comments