Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Revision History for A066250

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
a(n) = if n+1 is prime then A049084(n+1)*2 - 1 else A066246(n+1)*2.
(history; published version)
#6 by Russ Cox at Fri Mar 30 18:50:19 EDT 2012
AUTHOR

_Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), _, Dec 09 2001

Discussion
Fri Mar 30
18:50
OEIS Server: https://oeis.org/edit/global/246
#5 by Russ Cox at Sun Jul 10 18:39:34 EDT 2011
LINKS

<a href="/Sindx_index/Per.html#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

Discussion
Sun Jul 10
18:39
OEIS Server: https://oeis.org/edit/global/66
#4 by N. J. A. Sloane at Thu Nov 11 07:34:06 EST 2010
LINKS

<a href="/Sindx_Per.html#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

KEYWORD

nonn,new

nonn

#3 by N. J. A. Sloane at Fri Feb 27 03:00:00 EST 2009
LINKS

<a href="http://www.research.att.com/~njas/sequences/Sindx_Per.html#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

KEYWORD

nonn,new

nonn

#2 by N. J. A. Sloane at Fri Jan 09 03:00:00 EST 2009
KEYWORD

nonn,new

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystemsgmail.com), Dec 09 2001

#1 by N. J. A. Sloane at Fri May 16 03:00:00 EDT 2003
NAME

a(n) = if n+1 is prime then A049084(n+1)*2 - 1 else A066246(n+1)*2.

DATA

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

OFFSET

1,2

COMMENTS

Permutation of natural numbers; inverse: A066251.

LINKS

<a href="http://www.research.att.com/~njas/sequences/Sindx_Per.html#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

FORMULA

a(n) = A026238(n+1)*2 - A010051(n+1).

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)lhsystems.com), Dec 09 2001

STATUS

approved