cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-3 of 3 results.

A255330 a(n) = total number of nodes in the finite subtrees branching from the node n in the infinite trunk of "number-of-runs beanstalk" (A255056).

Original entry on oeis.org

1, 2, 0, 4, 1, 0, 7, 0, 3, 1, 0, 5, 2, 6, 0, 6, 0, 3, 1, 0, 5, 2, 12, 0, 2, 5, 0, 4, 2, 6, 0, 6, 0, 3, 1, 0, 5, 2, 12, 0, 2, 7, 1, 12, 4, 0, 2, 5, 0, 4, 2, 12, 0, 2, 5, 0, 4, 2, 6, 0, 6, 0, 3, 1, 0, 5, 2, 12, 0, 2, 7, 1, 12, 4, 0, 2, 7, 1, 10, 17, 0, 0, 1, 11, 4, 0, 2, 5, 0, 4, 2, 12, 0, 2, 7, 1, 12, 4, 0, 2, 5, 0, 4, 2, 12, 0, 2, 5, 0, 4, 2, 6, 0, 6, 0, 3, 1, 0, 5
Offset: 0

Views

Author

Antti Karttunen, Feb 21 2015

Keywords

Comments

A255058 gives the number of branches (children) of the node n in the trunk, of which one is the next node of the infinite trunk itself. Thus, if A255058(n) = 1, then a(n) = 0.

Examples

			The edge-relation between nodes is given by A236840(child) = parent. Odd numbers are leaves, as there are no such k that A236840(k) were odd.
The node 11 in the infinite trunk is A255056(11) = 30. Apart from 32 [we have A236840(32) = 30] which is the next node (node 12) in the infinite trunk, it has a single leaf-child 31 [A236840(31) = 30] at the "left side" (less than 32), and a leaf-child 33 [A236840(33) = 30] (more than 32) at the "right side", and also at that side, a subtree of three nodes 34 <- 38 <- 43 [we have A236840(43) = 38, A236840(38) = 34 and A236840(34) = 30], thus in total there are 1+1+3 = 5 nodes in finite branches emanating from the node 11 of the infinite trunk, and a(11) = 5.
		

Crossrefs

Programs

Formula

a(0) = 1; a(n) = sum_{k = A091067(A255057(n)) .. A255068(A255057(n))} A255327(k).
a(n) = A255328(n) + A255329(n).

A255332 Partial sums of A255331.

Original entry on oeis.org

-1, -1, -1, -5, -4, -4, -11, -11, -14, -13, -13, -10, -10, -16, -16, -22, -22, -25, -24, -24, -21, -21, -33, -33, -33, -38, -38, -34, -34, -40, -40, -46, -46, -49, -48, -48, -45, -45, -57, -57, -57, -50, -49, -61, -59, -59, -59, -64, -64, -60, -60, -72, -72, -72, -77, -77, -73, -73, -79, -79, -85, -85, -88, -87, -87, -84
Offset: 0

Views

Author

Antti Karttunen, Feb 21 2015

Keywords

Comments

a(805) = 54 is the first positive term.
Is a(836) = -32 the last negative term?
The conspicuous "noncontinuity" which occurs in the scatter plot for the first time at n=5790 is caused by a sudden negative record at A255331(5790) = -708. Note that A255328(5790) = 708.

Crossrefs

Analogous sequences: A218789, A230409.

Formula

a(0) = -1; for n >= 1: a(n) = a(n-1) + A255331(n).

A262893 Partial sums of A262890.

Original entry on oeis.org

6, 6, 47, 47, 47, 52, 52, 68, 68, 70, 70, 71, 72, 98, 102, 102, 102, 105, 105, 106, 119, 119, 224, 226, 227, 228, 230, 235, 253, 260, 260, 260, 260, 261, 264, 267, 267, 267, 272, 272, 276, 289, 291, 298, 298, 298, 305, 311, 312, 312, 312, 312, 365, 365, 365, 365, 455, 456, 456, 461, 461, 463, 463, 464, 465, 465, 477, 478, 478, 481, 542, 542, 542, 542, 542, 542, 542, 544, 661, 668, 668, 670
Offset: 0

Views

Author

Antti Karttunen, Oct 04 2015

Keywords

Crossrefs

Cf. also A255333.

Formula

a(0) = A262890(0); for n >= 1, a(n) = a(n-1) + A262890(n).
Showing 1-3 of 3 results.