I would like to check how many repeating digits are in a large fraction, I manually did it for the first few, but the repeating length is too large to manually check.
Primorial[n_] := Times @@ Prime[Range[n]]
a = Primorial[0]/EulerPhi[Primorial[0]];
b = Primorial[1]/EulerPhi[Primorial[1]];
c = Primorial[2]/EulerPhi[Primorial[1]];
d = Primorial[3]/EulerPhi[Primorial[2]];
e = Primorial[4]/EulerPhi[Primorial[3]];
f = Primorial[5]/EulerPhi[Primorial[4]];
g = Primorial[6]/EulerPhi[Primorial[5]];
h = Primorial[7]/EulerPhi[Primorial[6]];
i = Primorial[8]/EulerPhi[Primorial[7]];
j = Primorial[9]/EulerPhi[Primorial[8]];
k = Primorial[10]/EulerPhi[Primorial[9]];
l = Primorial[11]/EulerPhi[Primorial[10]];
m = Primorial[12]/EulerPhi[Primorial[11]];
n = Primorial[13]/EulerPhi[Primorial[12]];
o = Primorial[14]/EulerPhi[Primorial[13]];
p = Primorial[15]/EulerPhi[Primorial[14]];
(*
a*b*c*d*e*f*g*h*i*j*k has 81 long repeating fraction
a*b*c*d*e*f*g*h*i*j*k*l has 729 long repeating fraction
a*b*c*d*e*f*g*h*i*j*k*l*m 59049 long repeating fraction
*)
I would like to check the repeating fraction length for
a*b*c*d*e*f*g*h*i*j*k*l*m*n
and beyond if possible, since
I'm curious if this is related to OEIS sequence:
81,729,59049,... either: A121858 or A215272
Thanks!
cheers, Jamie
a
andb
you havePrimorial[i]/EulerPhi[Primorial[i]]
and fromc
on you havePrimorial[i]/EulerPhi[Primorial[i-1]]
. Is this by choice or by mistake? $\endgroup$