[seqfan] Simple seq with 3 in 4

Eric Angelini Eric.Angelini at kntv.be
Sat Aug 21 18:30:19 CEST 2010

Hello SeqFans,
I must have missed the correct entry
in the OEIS because I cannot find this
easy (core?) seq.
"To find 3 consecutive naturals in S,
you have to take 4 consecutive terms
of S -- no less":
S= 1,3,0,2,4,1,3,5,2,4,6,3,5,7,4,6,8,5,7,9,6,8,10,7,9,11,8,10,...

Ex: taking the first 3 terms doesn't
allow you to handle 3 consecutive
natural numbers as they are 0,1 and... 3.
But if you take the fourth term (2),
you'll have in hand 0,1,2 [and even
another triplet of consecutive naturals,
which is (1,2,3)].

Formula is easy to compute.


More information about the SeqFan mailing list