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!)
A115630 Inverse permutation to sequence A113821. 2
1, 2, 3, 7, 4, 5, 6, 29, 11, 16, 12, 8, 9, 10, 13, 121, 14, 17, 15, 18, 19, 20, 21, 30, 22, 23, 24, 25, 26, 27, 28, 497, 37, 46, 38, 67, 39, 47, 40, 31, 32, 33, 34, 35, 36, 41, 42, 122, 43, 48, 44, 68, 45, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 2017, 59, 60, 61, 69, 62, 63, 64, 65 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
A113821(29) = 8, so a(8) = 29.
MATHEMATICA
Block[{a = {1}}, Do[a = Join[a, Take[#, n]] &@ Select[Flatten@ Position[Array[BitAnd[n, #] &, 6000], k_ /; k > 0], FreeQ[a, #] &], {n, 2, 100}]; With[{t = ConstantArray[0, Max@ a]}, TakeWhile[#, # > 0 &] &@ ReplacePart[t, Sort[MapIndexed[#1 -> First@ #2 &, a]]]]] (* Michael De Vlieger, Aug 16 2017 *)
CROSSREFS
Cf. A113821.
Sequence in context: A109205 A285294 A371258 * A195795 A143528 A118810
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Jan 29 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 May 11 19:14 EDT 2024. Contains 372413 sequences. (Running on oeis4.)