login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A309734 Inverse permutation to A309668. 2
1, 2, 5, 4, 3, 10, 9, 8, 7, 6, 11, 20, 19, 18, 17, 16, 15, 14, 13, 25, 12, 23, 22, 21, 40, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 53, 26, 50, 49, 24, 47, 46, 45, 44, 43, 42, 41, 81, 79, 39, 76, 75, 74, 72, 71, 70, 69, 68, 67, 66, 65, 64, 63, 62, 61 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

Index entries for sequences that are permutations of the natural numbers

EXAMPLE

A309668(5) = 3, hence a(3) = 5.

MAPLE

S:= [$1..100]:

for n from 1 while S <> [] do

  for i from 1 to nops(S) do

    s:= S[i];

    if ilog2(n*s+n-1) > ilog2(n*s-1) then

      A[s]:= n;

      S:= subsop(i=NULL, S);

      break

    fi

od od:

seq(A[i], i=1..100); # Robert Israel, Apr 23 2020

CROSSREFS

Cf. A309668.

Sequence in context: A266415 A132664 A072029 * A309668 A238758 A065652

Adjacent sequences:  A309731 A309732 A309733 * A309735 A309736 A309737

KEYWORD

nonn,base,look

AUTHOR

Rémy Sigrist, Aug 14 2019

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 July 11 07:57 EDT 2020. Contains 335626 sequences. (Running on oeis4.)