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!)
A119618 Inverse permutation to sequence A114792 (if sequence A114792 is indeed a permutation of the positive integers). 1
1, 2, 4, 3, 6, 5, 9, 7, 12, 8, 11, 10, 16, 13, 19, 14, 15, 18, 17, 25, 21, 20, 24, 22, 27, 23, 26, 32, 28, 30, 34, 31, 40, 37, 29, 35, 33, 36, 42, 38, 39, 44, 43, 48, 41, 47, 51, 49, 56, 45, 46, 50, 59, 53, 54, 52, 55, 58, 57, 63, 62, 68, 64, 60, 80, 66, 61, 69, 74, 67, 65, 70 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Sequence is a permutation of the positive integers if the number of twin prime pairs is infinite.
LINKS
MATHEMATICA
f[n_] := Block[{c = (Prime[n + 2] - Prime[n + 1])/2, d = 0, k = 1}, While[d < c, k++; If[ !MemberQ[lst, k], d++ ]]; AppendTo[lst, k]]; lst = {1}; Do[ f[n], {n, 2, 80}]; Table[Position[lst, n], {n, 72}] // Flatten (* Robert G. Wilson v *)
CROSSREFS
Cf. A114792.
Sequence in context: A246682 A143691 A129767 * A113321 A271647 A232643
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 06 2006
EXTENSIONS
More terms from Robert G. Wilson v, Jun 07 2006
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 April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)