[go: up one dir, main page]

login
Revision History for A329355 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
The binary expansion of a(n) is the second through n-th terms of A000002 - 1.
(history; published version)
#11 by Andrew Howroyd at Sat Dec 28 14:19:39 EST 2019
STATUS

reviewed

approved

#10 by Michel Marcus at Sat Dec 28 02:46:52 EST 2019
STATUS

proposed

reviewed

#9 by Jon E. Schoenfield at Sat Dec 28 01:44:16 EST 2019
STATUS

editing

proposed

#8 by Jon E. Schoenfield at Sat Dec 28 01:44:13 EST 2019
EXAMPLE

a(11) = 813 has binary expansion q = {1, 1, 0, 0, 1, 0, 1, 1, 0, 1}, and q + 1 is {2, 2, 1, 1, 2, 1, 2, 2, 1, 2}, which is the second through 11-th 11th terms of A000002.

STATUS

approved

editing

#7 by Susanna Cuyler at Wed Nov 13 08:17:47 EST 2019
STATUS

proposed

approved

#6 by Gus Wiseman at Tue Nov 12 21:28:10 EST 2019
STATUS

editing

proposed

#5 by Gus Wiseman at Tue Nov 12 21:27:44 EST 2019
CROSSREFS

Length of Lyndon factorization of initial terms of A000002 is A296658.

Length of Lyndon factorization of the reversed initial terms of A000002 is A329317.

Cf. A211100, A275692, A288605, A296658, A329315, A329316, A329317, A329327, A329361, A329362.

#4 by Gus Wiseman at Tue Nov 12 16:14:24 EST 2019
CROSSREFS

The length Length of the Lyndon factorization of the first n initial terms of A000002 is A296658.

The length Length of the Lyndon factorization of the reversed first n initial terms of A000002 is A329317.

Cf. A211100, A275692, A288605, A329315, A329316, A329327, A329361, A329362.

#3 by Gus Wiseman at Tue Nov 12 16:02:51 EST 2019
NAME

allocated for Gus WisemanThe binary expansion of a(n) is the second through n-th terms of A000002 - 1.

DATA

0, 1, 3, 6, 12, 25, 50, 101, 203, 406, 813, 1627, 3254, 6508, 13017, 26034, 52068, 104137, 208275, 416550, 833101, 1666202, 3332404, 6664809, 13329618, 26659237, 53318475, 106636950, 213273900, 426547801, 853095602, 1706191204, 3412382409, 6824764818

OFFSET

1,3

EXAMPLE

a(11) = 813 has binary expansion q = {1, 1, 0, 0, 1, 0, 1, 1, 0, 1}, and q + 1 is {2, 2, 1, 1, 2, 1, 2, 2, 1, 2}, which is the second through 11-th terms of A000002.

MATHEMATICA

kolagrow[q_]:=If[Length[q]<2, Take[{1, 2}, Length[q]+1], Append[q, Switch[{q[[Length[Split[q]]]], q[[-2]], Last[q]}, {1, 1, 1}, 0, {1, 1, 2}, 1, {1, 2, 1}, 2, {1, 2, 2}, 0, {2, 1, 1}, 2, {2, 1, 2}, 2, {2, 2, 1}, 1, {2, 2, 2}, 1]]]

kol[n_Integer]:=If[n==0, {}, Nest[kolagrow, {1}, n-1]];

Table[FromDigits[kol[n]-1, 2], {n, 30}]

CROSSREFS

Replacing "A000002 - 1" with "2 - A000002" gives A329356.

Partial sums of A000002 are A054353.

Initial subsequences of A000002 are A329360.

The length of the Lyndon factorization of the first n terms of A000002 is A296658.

The length of the Lyndon factorization of the reversed first n terms of A000002 is A329317.

Cf. A211100, A275692, A329315, A329316, A329327, A329361, A329362.

KEYWORD

allocated

nonn

AUTHOR

Gus Wiseman, Nov 12 2019

STATUS

approved

editing

#2 by Gus Wiseman at Tue Nov 12 02:35:30 EST 2019
KEYWORD

allocating

allocated