[go: up one dir, main page]

login
Revision History for A132949 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Inverse permutation to sequence A132948.
(history; published version)
#6 by Russ Cox at Fri Mar 30 17:27:54 EDT 2012
AUTHOR

_Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), _, Sep 14 2007

Discussion
Fri Mar 30
17:27
OEIS Server: https://oeis.org/edit/global/145
#5 by Russ Cox at Sun Jul 10 18:40:33 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:40
OEIS Server: https://oeis.org/edit/global/66
#4 by N. J. A. Sloane at Thu Nov 11 07:34:06 EST 2010
LINKS

Klaus Brockhaus, <a href="/A132949/b132949.txt">Table of n, a(n) for n = 1..10000</a>

<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 Tue Jun 01 03:00:00 EDT 2010
LINKS

K. Klaus Brockhaus, <a href="b132949.txt">Table of n, a(n) for n = 1..10000</a>

KEYWORD

nonn,new

nonn

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

K. Brockhaus, <a href="http://www.research.att.com/~njas/sequences/b132949.txt">Table of n, a(n) for n = 1..10000</a>

<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

#1 by N. J. A. Sloane at Sat Nov 10 03:00:00 EST 2007
NAME

Inverse permutation to sequence A132948.

DATA

1, 2, 4, 3, 5, 6, 10, 7, 8, 11, 9, 12, 16, 14, 18, 25, 27, 21, 43, 13, 31, 19, 15, 44, 26, 22, 29, 30, 17, 36, 64, 55, 46, 33, 20, 42, 35, 50, 37, 53, 23, 47, 40, 24, 58, 34, 61, 68, 45, 54, 63, 65, 28, 38, 67, 60, 88, 51, 127, 82, 73, 74, 75, 87, 32, 78, 57, 80, 59, 94, 104, 84

OFFSET

1,2

LINKS

K. Brockhaus, <a href="http://www.research.att.com/~njas/sequences/b132949.txt">Table of n, a(n) for n = 1..10000</a>

<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>

EXAMPLE

A132948(10) = 7, hence a(7) = 10; A132948(13) = 20, hence a(20) = 13.

PROG

(PARI) {m=130; v=vector(m); w=vectorsmall(4*m); for(n=1, m, k=1; while(w[k]||(prime(n)-1)%k>0, k++); v[n]=k; w[k]=1); u=vector(m); for(j=1, m, a=v[j]; if(0<a&&a<=m, u[a]=j)); j=1; while(j<=m&&u[j]>0, print1(u[j], ", "); j++)}

CROSSREFS

Cf. A132948.

KEYWORD

nonn

AUTHOR

Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Sep 14 2007

STATUS

approved