Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,2

COMMENT

Permutation of the integers: exchange trisections starting with 2 and 3.

a(a(n)) = n. - Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 29 2004

LINKS

Index entries for sequences that are permutations of the natural numbers

FORMULA

a(n)-n is periodic with period 3.

a(n) = n + ((n+1) mod 3), with n>=0. - Paolo P. Lava (ppl(AT)spl.at), Jun 26 2007

CROSSREFS

Cf. A079357, A079354, A080783, A064437.

Equals A064429(n-1) + 1. Cf. A004442, A080412.

Adjacent sequences: A080779 A080780 A080781 this_sequence A080783 A080784 A080785

Sequence in context: A059320 A129601 A049831 this_sequence A116941 A116942 A093573

KEYWORD

nonn

AUTHOR

Benoit Cloitre (benoit7848c(AT)orange.fr), Mar 07 2003

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 October 13 20:18 EDT 2008. Contains 145016 sequences.


AT&T Labs Research