Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

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

1,1

FORMULA

a(2k)=2k-1=A005408(k), a(2k-1)=2k=A005843(k), k=1, 2, ...

O.g.f.: x*(x^2-x+2)/[(x-1)^2*(1+x)]. - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Apr 06 2008

a(n) = n-1+2*(n mod 2) - Rolf Pleisch (r_pleisch(AT)gmx.ch), Apr 22 2008

MATHEMATICA

Table[{n + 1, n}, {n, 1, 100, 2}] // Flatten

CROSSREFS

Essentially the same as A014681. Odd numbers: A005408. Even numbers: A005843.

Cf. A103889.

Adjacent sequences: A103886 A103887 A103888 this_sequence A103890 A103891 A103892

Sequence in context: A076981 A114285 A014681 this_sequence A137805 A096779 A026262

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Feb 20 2005

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 6 12:54 EDT 2008. Contains 144667 sequences.


AT&T Labs Research