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.

A179310 The smallest number that has more copies of some digit than all previous terms of the sequence put together.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 22, 33, 44, 55, 66, 77, 88, 99, 100, 1111, 2222, 3333, 4444, 5555, 6666, 7777, 8888, 9999, 10000, 22222222, 33333333, 44444444, 55555555, 66666666, 77777777, 88888888, 99999999, 100000000, 1111111111
Offset: 1

Views

Author

Jack W Grahl, Jul 10 2010

Keywords

Comments

For each natural number taken in order, we consider if we can make it using digits from as many of the previous terms as we like. If we cannot, we add it to the sequence and add its digits to the 'pool' we have for making subsequent numbers.

Examples

			This sequence is the same as A179309 up to 100. After that, we can make any three-digit number because we have had at least three of each digit so far. We can make 1000 because we have already had three 0's (in 10 and 100). So the next term is 1111 because we have only seen three 1's so far.
		

Crossrefs

A subsequence of A179309.

Extensions

An error in the example (pointed out by Jon E. Schoenfield) was corrected by Jack W Grahl, Jul 19 2010
More terms from Sean A. Irvine, Nov 10 2011