# Gould's sequence

__: Integer sequence__

**Short description****Gould's sequence** is an integer sequence named after Henry W. Gould that counts how many odd numbers are in each row of Pascal's triangle. It consists only of powers of two, and begins:^{[1]}^{[2]}

For instance, the sixth number in the sequence is 4, because there are four odd numbers in the sixth row of Pascal's triangle (the four bold numbers in the sequence **1**, **5**, 10, 10, **5**, **1**).

## Additional interpretations

The nth value in the sequence (starting from *n* = 0) gives the highest power of 2 that divides the central binomial coefficient [math]\displaystyle{ \tbinom{2n}{n} }[/math], and it gives the numerator of [math]\displaystyle{ 2^n/n! }[/math] (expressed as a fraction in lowest terms).^{[1]}

Gould's sequence also gives the number of live cells in the nth generation of the Rule 90 cellular automaton starting from a single live cell.^{[1]}^{[3]}
It has a characteristic growing sawtooth shape that can be used to recognize physical processes that behave similarly to Rule 90.^{[4]}

## Related sequences

The binary logarithms (exponents in the powers of two) of Gould's sequence themselves form an integer sequence,

in which the nth value gives the number of nonzero bits in the binary representation of the number n, sometimes written in mathematical notation as [math]\displaystyle{ \#_1(n) }[/math].^{[1]}^{[2]} Equivalently, the nth value in Gould's sequence is

- [math]\displaystyle{ 2^{\#_1(n)}. }[/math]

Taking the sequence of exponents modulo two gives the Thue–Morse sequence.^{[5]}

The partial sums of Gould's sequence,

count all odd numbers in the first n rows of Pascal's triangle. These numbers grow proportionally to [math]\displaystyle{ n^{\log_2 3}\approx n^{1.585} }[/math],
but with a constant of proportionality that oscillates between 0.812556... and 1, periodically as a function of log *n*.^{[6]}^{[7]}

## Recursive construction and self-similarity

The first 2^{i} values in Gould's sequence may be constructed by recursively constructing the first 2^{i − 1} values, and then concatenating the doubles of the first 2^{i − 1} values. For instance, concatenating the first four values 1, 2, 2, 4 with their doubles 2, 4, 4, 8 produces the first eight values. Because of this doubling construction, the first occurrence of each power of two 2^{i} in this sequence is at position 2^{i} − 1.^{[1]}

Gould's sequence, the sequence of its exponents, and the Thue–Morse sequence are all self-similar: they have the property that the subsequence of values at even positions in the whole sequence equals the original sequence, a property they also share with some other sequences such as Stern's diatomic sequence.^{[3]}^{[8]}^{[9]} In Gould's sequence, the values at odd positions are double their predecessors, while in the sequence of exponents, the values at odd positions are one plus their predecessors.

## History

The sequence is named after Henry W. Gould, who studied it in the early 1960s. However, the fact that these numbers are powers of two, with the exponent of the nth number equal to the number of ones in the binary representation of n, was already known to J. W. L. Glaisher in 1899.^{[10]}^{[11]}

Proving that the numbers in Gould's sequence are powers of two was given as a problem in the 1956 William Lowell Putnam Mathematical Competition.^{[12]}

## References

- ↑
^{1.0}^{1.1}^{1.2}^{1.3}^{1.4}Sloane, N. J. A., ed. "Sequence A001316 (Gould's sequence)". OEIS Foundation. https://oeis.org/A001316. - ↑
^{2.0}^{2.1}*Notes on Introductory Combinatorics*, Progress in Computer Science and Applied Logic,**4**, Springer, 2009, p. 21, ISBN 9780817649531, https://books.google.com/books?id=K-bDBAAAQBAJ&pg=PA21. - ↑
^{3.0}^{3.1}"Geometry of binomial coefficients",*American Mathematical Monthly***91**(9): 566–571, 1984, doi:10.2307/2323743. - ↑ Claussen, Jens Christian; Nagler, Jan; Schuster, Heinz Georg (2004), "Sierpinski signal generates 1/
*f*^{ α}spectra",*Physical Review E***70**(3): 032101, doi:10.1103/PhysRevE.70.032101, PMID 15524560, Bibcode: 2004PhRvE..70c2101C. - ↑ Northshield, Sam (2010), "Sums across Pascal's triangle mod 2",
*Congressus Numerantium***200**: 35–52, http://digitalcommons.plattsburgh.edu/cgi/viewcontent.cgi?article=1008&context=mathematics_facpubs, retrieved 2016-09-10. - ↑ "Number of odd binomial coefficients",
*Proceedings of the American Mathematical Society***62**(1): 19–22, 1976, doi:10.2307/2041936. - ↑ Larcher, G. (1996), "On the number of odd binomial coefficients",
*Acta Mathematica Hungarica***71**(3): 183–203, doi:10.1007/BF00052108. - ↑ Gilleland, Michael,
*Some Self-Similar Integer Sequences*, OEIS, https://oeis.org/selfsimilar.html, retrieved 2016-09-10. - ↑ Schroeder, Manfred (1996), "Fractals in Music", in Pickover, Clifford A.,
*Fractal Horizons*, New York: St. Martin's Press, pp. 207–223. As cited by Gilleland. - ↑ "Zaphod Beeblebrox's brain and the fifty-ninth row of Pascal's triangle",
*American Mathematical Monthly***99**(4): 318–331, 1992, doi:10.2307/2324898. - ↑ "On the residue of a binomial-theorem coefficient with respect to a prime modulus",
*The Quarterly Journal of Pure and Applied Mathematics***30**: 150–156, 1899, https://books.google.com/books?id=j7sKAAAAIAAJ&pg=PA150. See in particular the final paragraph of p. 156. - ↑
*The William Lowell Putnam Mathematical Competition: Problems and Solutions: 1938–1964*, Mathematical Association of America, 1980, p. 46, ISBN 9780883854624, https://books.google.com/books?id=1zmhHT7lIc0C&pg=PA46.

Original source: https://en.wikipedia.org/wiki/Gould's sequence.
Read more |