%I A038760
%S A038760 0,0,0,1,0,1,0,1,2,0,2,1,0,1,2,3,0,3,2,1,0,1,2,3,4,0,4,3,2,1,
%T A038760 0,1,2,3,4,5,0,5,4,3,2,1,0,1,2,3,4,5,6,0,6,5,4,3,2,1,0,1,2,
%U A038760 3,4,5,6,7,0,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,0,8,7,6,5,4
%V A038760 0,0,0,1,0,-1,0,1,2,0,-2,-1,0,1,2,3,0,-3,-2,-1,0,1,2,3,4,0,-4,-3,-2,-1,
%W A038760 0,1,2,3,4,5,0,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,0,-6,-5,-4,-3,-2,-1,0,1,2,
%X A038760 3,4,5,6,7,0,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,0,-8,-7,-6,-5,-4
%N A038760 n - ceiling[sqrt(n)] * floor[sqrt(n)].
%F A038760 a(n) =n-A003059(n)*A000196(n) =n-A038759(n)
%e A038760 a(31)=1 since 6 and 5 are either side of the square root of 31 and 31-6*5=1
%Y A038760 Cf. A053188.
%Y A038760 Sequence in context: A036580 A101674 A100820 this_sequence A143946 A035394
A067167
%Y A038760 Adjacent sequences: A038757 A038758 A038759 this_sequence A038761 A038762
A038763
%K A038760 sign
%O A038760 0,9
%A A038760 Henry Bottomley (se16(AT)btinternet.com), May 03 2000
|