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!)
A026215 a(n) is the position of n in A026214. 3
2, 1, 6, 8, 3, 4, 14, 5, 18, 20, 7, 24, 26, 9, 10, 32, 11, 12, 38, 13, 42, 44, 15, 16, 50, 17, 54, 56, 19, 60, 62, 21, 22, 68, 23, 72, 74, 25, 78, 80, 27, 28, 86, 29, 30, 92, 31, 96, 98, 33, 34, 104, 35, 36, 110, 37, 114, 116, 39, 40, 122, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
F. M. Dekking, Permutations of N generated by left-right filling algorithms, arXiv:2001.08915 [math.CO], 2020.
MATHEMATICA
With[{s = Array[If[Mod[#/3^IntegerExponent[#, 3], 3] == 1, Ceiling[#/3], #] &[(6 # + 1)/4 - (-1)^#/4] &, Floor[2 #/3]] &[189]}, Array[FirstPosition[s, #][[1]] &, LengthWhile[Differences@ Union[s], # == 1 &]]] (* Michael De Vlieger, Aug 29 2021 *)
CROSSREFS
Cf. A026214.
Sequence in context: A220884 A217877 A138510 * A026220 A138750 A342369
KEYWORD
nonn
AUTHOR
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 June 4 19:35 EDT 2024. Contains 373102 sequences. (Running on oeis4.)