[go: up one dir, main page]

login
Triangle array: row n lists the number of repeating digits of 1/2 through 1/(n-1) in base n, or 0 if it terminates.
0

%I #5 Mar 31 2012 14:41:48

%S 1,0,1,1,2,1,0,0,0,1,1,1,2,4,1,0,2,0,4,2,1,1,0,1,2,1,3,1,0,1,0,0,1,6,

%T 0,1,1,2,2,1,2,3,2,6,1,0,0,0,4,0,6,0,0,4,1,1,1,1,4,1,2,2,3,4,10,1,0,1,

%U 0,1,1,0,0,6,2,5,2,1,1,0,2,0,1,1,2,0,1,5,2,12,1,0,1,0,1,1,3,0,3,1,5,1,3,3,1

%N Triangle array: row n lists the number of repeating digits of 1/2 through 1/(n-1) in base n, or 0 if it terminates.

%e Rows show the number of repeating digits for:

%e 1/2 base 3

%e 1/2 base 4, 1/3 base 4

%e 1/2 base 5, 1/3 base 5, 1/4 base 5

%Y Cf. A066799 (similar table but does not differentiate terminating versus non-terminating values.)

%K nonn,tabl,base

%O 3,5

%A _Will Nicholes_, Jul 01 2010