This site is supported by donations to The OEIS Foundation.

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!)
 A066250 a(n) = if n+1 is prime then A049084(n+1)*2 - 1 else A066246(n+1)*2. 3
 1, 3, 2, 5, 4, 7, 6, 8, 10, 9, 12, 11, 14, 16, 18, 13, 20, 15, 22, 24, 26, 17, 28, 30, 32, 34, 36, 19, 38, 21, 40, 42, 44, 46, 48, 23, 50, 52, 54, 25, 56, 27, 58, 60, 62, 29, 64, 66, 68, 70, 72, 31, 74, 76, 78, 80, 82, 33, 84, 35, 86, 88, 90, 92, 94, 37, 96, 98, 100, 39, 102 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS Permutation of natural numbers; inverse: A066251. LINKS FORMULA a(n) = A026238(n+1)*2 - A010051(n+1). CROSSREFS Cf. A066251, A049084, A066246, A026238, A010051, A066248, A066254. Sequence in context: A297208 A301941 A135762 * A066251 A114882 A004442 Adjacent sequences:  A066247 A066248 A066249 * A066251 A066252 A066253 KEYWORD nonn AUTHOR Reinhard Zumkeller, Dec 09 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.

Last modified January 17 00:44 EST 2019. Contains 319206 sequences. (Running on oeis4.)