Fractal sequence based on comparison of {n * tau} with {i*tau} for i = 1 to F(2j) where F(2j) equals the first i for which {n*tau} <= {i*tau} as i goes from 1 to F(2j+2)-1 and F(2j) equals the insertion point of n into P(n-1). The fractional parts {i*tau} are all less than or equal to {F(2j-2)*tau} for 0 < i < F(2j), so there is no chance that an insertion point greater than n in the permutation of the first n-1 integers will be specified by this rule. The table, A132827, gives the insertion points for each n into the permutation P(n-1) of the first n integers.

A133117

Fractal sequence based on comparison of {n * tau} with {i*tau} for i = 1 to F(2j) where F(2j) equals the first i for which {n*tau} <= {i*tau} as i goes from 1 to F(2j+2)-1 and F(2j) equals the insertion point of n into P(n-1). The fractional parts {i*tau} are all less than or equal to {F(2j-2)*tau} for 0 < i < F(2j), so there is no chance that an insertion point greater than n in the permutation of the first n-1 integers will be specified by this rule. The table, A132827, gives the insertion points for each n into the permutation P(n-1) of the first n integers.

Terms

    a(0) =1a(1) =2a(2) =1a(3) =2a(4) =1a(5) =3a(6) =4a(7) =2a(8) =1a(9) =3a(10) =5a(11) =4a(12) =2a(13) =1a(14) =3a(15) =5a(16) =4a(17) =6a(18) =2a(19) =1a(20) =3a(21) =7a(22) =5a(23) =4a(24) =6a(25) =2a(26) =1a(27) =3a(28) =7a(29) =5

External references