login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A065652 a(0) = 0 and a(n+1) = if a(n) - 1 is new and > 0 then a(n) - 1 else a(n)*a(n) + 1 for n >= 0. 2
0, 1, 2, 5, 4, 3, 10, 9, 8, 7, 6, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25, 24, 23, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 122, 121, 120, 119, 118, 117, 116, 115, 114, 113, 112, 111, 110, 109, 108, 107, 106, 105, 104, 103, 102, 101, 100, 99, 98, 97 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

COMMENTS

a(a(n)) = n: a self-inverse permutation of the natural numbers. a(x) = x iff x = A065654(k) for some k.

LINKS

Table of n, a(n) for n=0..63.

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(A065653(k) + j) = A065653(k+1) - 1 - j for k >= 0 and 0 <= j < A065653(k+1) - A065653(k).

CROSSREFS

Cf. A065653, A065654

Sequence in context: A132664 A072029 A238758 * A235200 A267099 A266416

Adjacent sequences:  A065649 A065650 A065651 * A065653 A065654 A065655

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Nov 10 2001

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 18 07:18 EST 2019. Contains 319269 sequences. (Running on oeis4.)