OFFSET
1,2
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..1000
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