login
a(n) = floor(n^(3/2)) - n*floor(n^(1/2)).
3

%I #20 May 01 2014 02:37:00

%S 0,0,2,0,1,2,4,6,0,1,3,5,7,10,13,0,2,4,6,9,12,15,18,21,0,2,5,8,11,14,

%T 17,21,24,28,32,0,3,6,9,12,16,20,23,27,31,35,40,44,0,3,7,10,14,18,22,

%U 27,31,35,40,44,49,54,59,0,4,8,12,16,21,25,30,34,39,44,49,54,59,64,70

%N a(n) = floor(n^(3/2)) - n*floor(n^(1/2)).

%C a(n) is the coefficient of 1/n in the base n representation of sqrt(n); namely, the digit after the 'decimal' point. - _Jason Kimberley_, Feb 2012

%H Reinhard Zumkeller, <a href="/A074704/b074704.txt">Table of n, a(n) for n = 1..10000</a>

%H Jason Kimberley, <a href="/wiki/User:Jason_Kimberley/sqrt_base">Index of expansions of sqrt(d) in base b</a>

%F a(n) = A000093(n) - n * A000196(n).

%Y Cf. A000196 [the digit before the 'decimal' point in the base n representation of sqrt(n)], A000093.

%K nonn,look

%O 1,3

%A _Reinhard Zumkeller_, Sep 03 2002