Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A140266
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A140266 Inverse permutation of A140265. +0
3
1, 2, 3, 6, 8, 4, 7, 5, 9, 18, 20, 16, 24, 26, 22, 12, 14, 10, 19, 17, 21, 13, 11, 15, 25, 23, 27, 54, 56, 52, 60, 62, 58, 48, 50, 46, 72, 74, 70, 78, 80, 76, 66, 68, 64, 36, 38, 34, 42, 44, 40, 30, 32, 28, 55, 53, 57, 49, 47, 51, 61, 59, 63, 37, 35, 39, 31, 29, 33, 43, 41, 45 (list; graph; listen)
OFFSET

1,2

LINKS

A. Karttunen, Table of n, a(n) for n = 1..729

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(n) = Z->N(A117966(n-1)), where Z->N(z) = 2z if z>0 else 2|z|+1.

PROGRAM

(Scheme:) (string-append (define (A140266 n) (Z->N (A117966 (- n 1))))

(define (Z->N n) (if (positive? n) (* n 2) (+ 1 (* 2 (- n))))))

CROSSREFS

Inverse: A140265. a(n) = A140264(n-1)+1.

Sequence in context: A088414 A133441 A086254 this_sequence A140265 A127293 A138343

Adjacent sequences: A140263 A140264 A140265 this_sequence A140267 A140268 A140269

KEYWORD

nonn

AUTHOR

Antti Karttunen (His-Firstname.His-Surname(AT)gmail.com), May 19 2008

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 December 16 17:18 EST 2009. Contains 170825 sequences.


AT&T Labs Research