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!)
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
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 A354182
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 | 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.)