This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A066248 a(n) = if n+1 is prime then A049084(n+1)*2 else A066246(n+1)*2 - 1. 4
 2, 4, 1, 6, 3, 8, 5, 7, 9, 10, 11, 12, 13, 15, 17, 14, 19, 16, 21, 23, 25, 18, 27, 29, 31, 33, 35, 20, 37, 22, 39, 41, 43, 45, 47, 24, 49, 51, 53, 26, 55, 28, 57, 59, 61, 30, 63, 65, 67, 69, 71, 32, 73, 75, 77, 79, 81, 34, 83, 36, 85, 87, 89, 91, 93, 38, 95, 97, 99, 40, 101, 42 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 COMMENTS Permutation of natural numbers; inverse: A066249. LINKS FORMULA a(n) = A026238(n+1)*2 - A066247(n+1). CROSSREFS Cf. A066249, A049084, A066246, A026238, A066247, A066250, A066252. Sequence in context: A249146 A225679 A081879 * A065164 A138124 A128860 Adjacent sequences:  A066245 A066246 A066247 * A066249 A066250 A066251 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 October 15 13:06 EDT 2019. Contains 328030 sequences. (Running on oeis4.)