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.

A275342 2-adic valuation of iterated triangular numbers, starting with 2.

Original entry on oeis.org

1, 0, 1, 0, 0, 2, 1, 0, 0, 0, 0, 2, 1, 0, 1, 0, 0, 0, 3, 2, 1, 0, 0, 2, 1, 0, 1, 0, 0, 0, 2, 1, 0, 0, 0, 1, 0, 0, 1, 0, 2, 1, 0, 0, 2, 1, 0, 2, 1, 0, 0, 2, 1, 0, 0, 0, 3, 2, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 2, 1, 0, 0, 0, 1, 0, 0, 2, 1, 0, 1, 0, 3, 2, 1, 0, 0, 0, 1, 0, 0, 0, 2, 1, 0, 2, 1, 0, 0, 0, 0, 2, 1, 0, 0, 4, 3, 2, 1, 0, 0, 4, 3, 2, 1, 0, 2, 1, 0, 1, 0, 0, 0, 1
Offset: 1

Views

Author

Jeffrey Shallit, Jul 23 2016

Keywords

Examples

			t(1) = 2, t(2) = 3, t(3) = 6, t(4) = 21, so a(1) = 1, a(2) = 0, a(3) = 1, a(4) = 0.
		

Crossrefs

Formula

Writing t(1) = 2, t(n+1) = t(n)(t(n)+1)/2, the sequence is nu_2 (t(n)), where nu_2 (x) is the exponent of the highest power of 2 dividing x.
a(n) = A007814(A007501(n)). - Michel Marcus, Jul 23 2016