login
A226021
Decimal representation of continued fraction cototient(1), cototient(2), cototient(3), cototient(4), ...
1
0, 5, 7, 5, 1, 2, 1, 5, 2, 5, 1, 1, 0, 9, 5, 6, 1, 3, 4, 9, 8, 9, 0, 0, 7, 9, 6, 6, 2, 6, 1, 7, 3, 8, 6, 8, 6, 5, 0, 9, 8, 2, 1, 9, 2, 7, 0, 6, 0, 5, 5, 4, 6, 0, 3, 3, 0, 6, 8, 8, 5, 2, 0, 1, 6, 1, 4, 0, 5, 4, 6, 0, 3, 3, 5, 1, 9, 9, 7, 1, 8, 3, 0, 6, 3, 7, 2, 8, 7, 9, 2, 6, 1, 5, 4, 7, 7, 1, 6, 4, 1, 0, 3, 9, 1
OFFSET
1,2
LINKS
EXAMPLE
0.575121525110956134989007966261...
= [0, 1, 1, 2, 1, 4, 1, 4, 3, 6, 1, 8, 1, 8, 7, ...]
MAPLE
with(numtheory);
List226021:=proc(q) local a, n; a:=q+1-phi(q+1);
for n from q by -1 to 1 do a:=1/a+n-phi(n); od; print(evalf(a, 100)); end: List226021(10^5);
MATHEMATICA
digits = 104;
FromContinuedFraction[(# - EulerPhi[#])&[Range[digits]]] // N[#, digits]& // RealDigits // First // Prepend[#, 0]& (* Jean-François Alcover, Oct 05 2020 *)
CROSSREFS
KEYWORD
nonn,cons
AUTHOR
Paolo P. Lava, May 23 2013
STATUS
approved