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!)
A370728 Inverse permutation of A370727. 2

%I #13 Mar 02 2024 08:00:32

%S 2,1,4,3,6,9,11,5,10,14,15,18,22,31,43,7,8,17,23,16,35,36,48,24,37,54,

%T 61,66,70,76,92,12,13,27,28,26,29,39,52,40,51,73,75,83,97,133,181,30,

%U 41,63,64,42,74,85,96,65,86,105,144,126,145,190,207,19,20

%N Inverse permutation of A370727.

%C Also, lexicographically earliest sequence of distinct positive integers such that for any n > 0, prime(a(n)) AND n = n (where prime(k) denotes the k-th prime number and AND denotes the bitwise AND operator).

%H Rémy Sigrist, <a href="/A370728/b370728.txt">Table of n, a(n) for n = 1..10000</a>

%H Rémy Sigrist, <a href="/A370728/a370728.gp.txt">PARI program</a>

%H <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>

%e A370727(42) = 52, hence a(52) = 42.

%o (PARI) See Links section.

%Y Cf. A370727.

%K nonn,base

%O 1,1

%A _Rémy Sigrist_, Feb 28 2024

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 May 21 17:21 EDT 2024. Contains 372738 sequences. (Running on oeis4.)