OFFSET
1,4
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..65537
MATHEMATICA
a[n_] := Select[Range[n-1], EulerPhi[n]==EulerPhi[n-# ]+EulerPhi[ # ]&]; Table[s=a[n]; If[Length[s]==0, 0, First[s]], {n, 150}]
PROG
(PARI) A110173(n) = { my(ph=eulerphi(n)); for(k=1, n-1, if(ph == (eulerphi(k)+eulerphi(n-k)), return(k))); (0); }; \\ Antti Karttunen, Feb 20 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Jul 15 2005
STATUS
approved