|
|
A039789
|
|
Integers k such that phi(k) is equal to the product of (the sum of prime factors and the sum of exponents) of k+1.
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Next term if it exists is greater than 1500000. - Reiner Martin, May 20 2001
|
|
LINKS
|
|
|
EXAMPLE
|
phi(62)=30, 63=3^2*7^1, (3+7)*(2+1)=30.
|
|
MATHEMATICA
|
epQ[n_]:=Module[{fi=Transpose[FactorInteger[n+1]]}, EulerPhi[n]== Total[ First[fi]]* Total[Last[fi]]]; Select[Range[1000], epQ] (* Harvey P. Dale, Apr 19 2013 *)
|
|
PROG
|
(PARI) isok(k) = my(f=factor(k+1)); eulerphi(k) == vecsum(f[, 1]) * vecsum(f[, 2]); \\ Michel Marcus, Oct 30 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|