A078164 Numbers k such that phi(k) is a perfect biquadrate.
1, 2, 17, 32, 34, 40, 48, 60, 257, 512, 514, 544, 640, 680, 768, 816, 960, 1020, 1297, 1387, 1417, 1729, 1971, 2109, 2223, 2289, 2331, 2445, 2457, 2565, 2594, 2608, 2774, 2812, 2834, 2835, 3052, 3260, 3458, 3888, 3912, 3924, 3942, 3996, 4104, 4212, 4218
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
Programs
-
Mathematica
k=4; Do[s=EulerPhi[n]^(1/k); If[IntegerQ[s], Print[n]], {n, 1, 5000}] Select[Range[5000],IntegerQ[Surd[EulerPhi[#],4]]&] (* Harvey P. Dale, Apr 30 2015 *)
-
PARI
is(n)=ispower(eulerphi(n),4) \\ Charles R Greathouse IV, Apr 24 2020
-
Python
from itertools import count, islice from sympy import totient, integer_nthroot def A078164_gen(startvalue=1): # generator of terms >= startvalue return filter(lambda n:integer_nthroot(totient(n),4)[1], count(max(1,startvalue))) A078164_list = list(islice(A078164_gen(),20)) # Chai Wah Wu, Feb 28 2023
Comments