%I A101336
%S A101336 0,0,1,1,1,1,2,0,3,4,4,2,1,4,2,0,0,2,3,4,6,7,7,5,9,3,7,13,14,10,10,9,2,
16,
%T A101336 13,11,10,7,23,16,16,25,26,13,11,14,14,12,4,10,23,11,10,9,25,20,2,29,29,
%U A101336 26,27,6,4,2,10,0,0,18,37,36,35,34,34,2,1,19,16,31,32,25,28,15,15,6,27,
15
%V A101336 0,0,1,-1,-1,1,2,0,3,-4,-4,-2,-1,4,2,0,0,2,3,-4,6,-7,-7,-5,-9,3,7,13,14,
10,10,9,2,-16,
%W A101336 -13,-11,-10,7,23,16,16,25,26,13,11,-14,-14,-12,-4,-10,-23,-11,-10,-9,
-25,-20,2,29,29,
%X A101336 26,27,-6,4,2,10,0,0,-18,-37,-36,-35,-34,-34,2,1,19,16,31,32,25,28,-15,
-15,-6,-27,15
%N A101336 Alternating addition and subtraction of the residues of the primes less
than the number.
%C A101336 The amplitude and periodicity of fluctuations increase... for example
a(813) through a(836) are all positive and a(914) through a(937)
all are positive except for a(922).
%e A101336 a(10) = -4 because 10 (mod 2) - 10 (mod 3) + 10 (mod 5) - 10 (mod 7)
= 0-1+0-3
%Y A101336 Cf. A024934.
%Y A101336 Sequence in context: A013584 A137372 A066439 this_sequence A137218 A087819
A066246
%Y A101336 Adjacent sequences: A101333 A101334 A101335 this_sequence A101337 A101338
A101339
%K A101336 easy,sign
%O A101336 1,7
%A A101336 Gordon Robert Hamilton (hamiltonian(AT)shaw.ca), Dec 24 2004
|