The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132989 Inverse permutation to sequence A132988. 4
1, 2, 3, 4, 8, 5, 6, 9, 7, 10, 14, 15, 27, 13, 17, 11, 19, 16, 12, 22, 23, 29, 33, 20, 35, 42, 28, 34, 40, 24, 18, 31, 32, 26, 70, 41, 21, 30, 51, 46, 38, 39, 55, 56, 57, 50, 60, 43, 25, 87, 97, 64, 47, 83, 85, 48, 49, 69, 71, 52, 93, 84, 54, 76, 77, 45, 79, 58, 144, 81, 61, 72 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
A132988(11) = 16, hence a(16) = 11; A132988(15) = 12, hence a(12) = 15.
PROG
(PARI) {m=150; 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. A132988.
Sequence in context: A366656 A175060 A138773 * A283814 A360597 A114881
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Sep 14 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 09:03 EDT 2024. Contains 373119 sequences. (Running on oeis4.)