%I A106002
%S A106002 0,0,0,1,0,1,0,1,1,0,1,1,0,1,1,1,0,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,0,1,0,
%T A106002 1,1,1,1,1,0,1,0,1,0,1,1,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,0,1,1,1,1,0,1,
%U A106002 1,1,1,1,1,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1
%N A106002 a(n)=1 if there is a number of the form 6k+3 such that prime(n) < 6k+3
< prime(n+1), otherwise 0.
%C A106002 Except for first two primes and twin primes, there is always at least
one number of the form 6k+3 between two successive primes.
%e A106002 a(3)=0 because between prime(3)=5 and prime(4)=7 there are no numbers
of the form 6k+3;
%e A106002 a(4)=1 because between prime(4)=7 and prime(5)=11 there is 9=6*1+3.
%Y A106002 Same as A100810 after first term.
%Y A106002 Sequence in context: A072783 A064911 A099618 this_sequence A066247 A151774
A095792
%Y A106002 Adjacent sequences: A105999 A106000 A106001 this_sequence A106003 A106004
A106005
%K A106002 easy,nonn
%O A106002 1,1
%A A106002 Giovanni Teofilatto (g.teofilatto(AT)tiscalinet.it), Apr 29 2005
%E A106002 Edited by Ray Chandler (rayjchandler(AT)sbcglobal.net), Oct 17 2006
|