OFFSET
1,1
COMMENTS
The digits summed are those before the decimal expansion recurs or terminates. Otherwise reciprocals that supply a recurrent 1, like 1/9 = 0.111... or 1/99 = 0.010101..., would always produce a sum equal to n from sufficient terms of the reciprocal.
EXAMPLE
1/3 = 0.3... and 3 = 0 + 3.
1/7 = 0.142857... and 7 = 1 + 4 + 2.
1/8 = 0.125 and 8 = 1 + 2 + 5.
1/13 = 0.0769230... and 13 = 7 + 6.
1/14 = 0.0714285... and 14 = 7 + 1 + 4 + 2.
1/34 = 0.02941176470588235... and 34 = 2 + 9 + 4 + 1 + 1 + 7 + 6 + 4.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Anthony Sand, Jul 01 2014
STATUS
approved