Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A166021
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A166021 a(n) = 2*A000124(A003056(n-1)) if A002262(n-1)=0, otherwise a(n-1)+1. +0
2
2, 4, 5, 8, 9, 10, 14, 15, 16, 17, 22, 23, 24, 25, 26, 32, 33, 34, 35, 36, 37, 44, 45, 46, 47, 48, 49, 50, 58, 59, 60, 61, 62, 63, 64, 65, 74, 75, 76, 77, 78, 79, 80, 81, 82, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121 (list; table; graph; listen)
OFFSET

1,1

PROGRAM

(MIT Scheme:) (define (A166021 n) (if (zero? (A002262 (-1+ n))) (* 2 (A000124 (A003056 (-1+ n)))) (1+ (A166021 (-1+ n)))))

CROSSREFS

Complement of A136272.

Sequence in context: A101185 A045702 A005658 this_sequence A003714 A010402 A010443

Adjacent sequences: A166018 A166019 A166020 this_sequence A166022 A166023 A166024

KEYWORD

nonn,tabl,easy

AUTHOR

Antti Karttunen (His-Firstname.His-Surname(AT)gmail.com), Oct 05 2009

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 27 22:34 EST 2009. Contains 167570 sequences.


AT&T Labs Research