login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A055562 a(n) = least number greater than a(n-1) not the sum of an earlier pair of consecutive terms, a(0) = 2. 5
2, 3, 4, 6, 8, 9, 11, 12, 13, 15, 16, 18, 19, 21, 22, 24, 26, 27, 29, 30, 32, 33, 35, 36, 38, 39, 41, 42, 44, 45, 47, 48, 49, 51, 52, 54, 55, 57, 58, 60, 61, 63, 64, 66, 67, 69, 70, 72, 73, 75, 76, 78, 79, 81, 82, 84, 85, 87, 88, 90, 91, 93, 94, 96, 98, 99, 101, 102, 104, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
J.-P. Allouche and J. Shallit, The Ring of k-regular Sequences, II
J.-P. Allouche and J. Shallit, The ring of k-regular sequences, II, Theoret. Computer Sci., 307 (2003), 3-29.
FORMULA
a(n) = A022441(n) - a(n-1) for n > 0.
a(2n) = 3n + 1 + (floor(log_2 n) mod 2), n >= 1; a(2n+1) = 3n+3, n >= 0. - Jeffrey Shallit, Jun 08 2000
a(n) = A210770(2*n+2). - Reinhard Zumkeller, Mar 25 2012
EXAMPLE
a(2) = 4 because a(1) = 3 and 4 <> a(0)+a(1);
a(3) = 6 because a(2) = 4 and 5 = a(0)+a(1) but 6 <> a(0)+a(1) and 6 <> a(1)+a(2).
CROSSREFS
Complement of A022441. See A001651 for a(0) = 1 and A055563 for a(0) = 3
Sequence in context: A246780 A321131 A191983 * A235933 A335878 A233133
KEYWORD
nonn
AUTHOR
Henry Bottomley, May 26 2000
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)