|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|