login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A239965 Where the n-th nonprime occurs in the nonprime EKG sequence A240024. 4
1, 2, 3, 4, 7, 5, 6, 10, 8, 11, 9, 12, 15, 13, 14, 18, 21, 16, 20, 17, 22, 25, 23, 19, 24, 28, 26, 29, 27, 30, 33, 31, 32, 43, 34, 37, 35, 36, 40, 44, 38, 45, 39, 46, 49, 47, 41, 48, 52, 50, 42, 51, 53, 56, 54, 60, 55, 57, 64, 58, 59, 74, 62, 65, 61, 63, 71 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

A240024(a(n)) = A018252(n);

a permutation of the natural numbers with inverse A238862: a(A238862(n))=A238862(a(n))=n.

LINKS

Reinhard Zumkeller, Table of n, a(n) for n = 1..10000

Index entries for sequences that are permutations of the natural numbers

PROG

(Haskell)

import Data.List (elemIndex); import Data.Maybe (fromJust)

a239965 = (+ 1) . fromJust . (`elemIndex` a240024_list) . a018252

CROSSREFS

Cf. A239943 (fixed points).

Sequence in context: A268131 A014321 A175343 * A072767 A071651 A072658

Adjacent sequences:  A239962 A239963 A239964 * A239966 A239967 A239968

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller, Apr 30 2014

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 17 06:52 EDT 2019. Contains 327119 sequences. (Running on oeis4.)