Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A116648
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A116648 Least natural number which does not occur in A116626(1..n). +0
5
2, 2, 4, 4, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 9, 9, 11, 11, 11, 11, 11, 11, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 27, 27, 27, 27, 27, 27, 27, 27, 29, 29, 29, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 39, 39, 39, 39, 42, 42, 42, 42, 44, 44, 44, 44 (list; graph; listen)
OFFSET

1,1

PROGRAM

(MIT Scheme:) (define (A116648 n) (if (< n 2) (+ n 1) (let ((prev (A116648 (- n 1)))) (cond ((not (= (A116626 n) prev)) prev) (else (let loop ((i (+ 1 prev))) (cond ((> (A116627 i) n) i) (else (loop (+ 1 i))))))))))

CROSSREFS

Cf. A116649, A116650, A116651.

Sequence in context: A083548 A082849 A123756 this_sequence A036714 A035644 A113474

Adjacent sequences: A116645 A116646 A116647 this_sequence A116649 A116650 A116651

KEYWORD

nonn

AUTHOR

Antti Karttunen (His-Firstname.His-Surname(AT)gmail.com), Feb 21 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research