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.

A217378 Exponents for the terms in A217368: least number which taken to the a(n)-th power has exactly n copies of each decimal digit.

Original entry on oeis.org

2, 4, 5, 7, 9, 9, 9, 11, 12, 13, 13, 15, 15, 16, 16, 18, 18, 20, 23, 21
Offset: 1

Views

Author

James G. Merickel, Oct 01 2012

Keywords

Comments

This sequence gives the exponents a(n) such that A217368(n)^a(n) has n copies of each digit 0-9.
In the limit of large k, the probability of a uniformly selected 10k-digit number having k copies of each base-10 digit is C*k^(-4.5), where C is approximately 8.09451*10^(-4) (by the use of Stirling's approximation to the factorial function applied to the multinomial corresponding to the number of such 10k-digit numbers divided by the total number of 10k-digit numbers). Also, the number of n-th powers of this length is very nearly equal to (1-10^(-1/n))*10^(10k/n) as long as n is not too large. That is, the former probability is reciprocal polynomial in k, while the number of n-th powers for a given n is exponential in k as long as k is large enough. Then, under the assumption that the digits of powers are randomly distributed, this sequence will increase without bound. A217378(n+1) < A217378(n) for the first time for n=19.

Examples

			A217368(3) = 643905 raised to the 5th power has exactly 3 copies of each digit in its decimal representation, and no number smaller than 643905 has a power of the same nature. Therefore a(3)=5.
		

Crossrefs

Cf. A217368 and references therein.

Extensions

Edited by M. F. Hasler, Oct 05 2012
a(13) and a(14) added by James G. Merickel, Oct 06 2012 and Oct 08 2012
a(15)-a(19) added by James G. Merickel, Oct 19 2012
a(20) added by James G. Merickel, Nov 28 2012

A218169 Smallest prime with power closest to having n copies of each digit, with one fewer of 1, 2, 4, 5, 7 or 8.

Original entry on oeis.org

2, 1084357, 558017, 40844333, 9717439, 205807697, 316363037, 14326787, 106741703, 931524977, 227145983, 7031729687, 7284563827, 52156681, 7914854663
Offset: 1

Views

Author

James G. Merickel, Oct 22 2012

Keywords

Comments

The powers for the terms so far are 29, 3, 5, 5, 7, 7, 8, 11, 11, 11, 13, 12, 13, 18 and 15. A218170 is the opposing sequence with an extra copy of some digit. The 3-divisibility criterion precludes all digits appearing equally frequently. A217368 deals with the case not limited to primes.

Examples

			2^29 = 536870912, missing a copy of the digit 4.
		

Crossrefs

A218170 Smallest prime with power closest to having all digits n times, with one more of 1, 2, 4, 5, 7 or 8.

Original entry on oeis.org

101723, 4697081, 1361471, 5772427, 18168923, 35514203, 562489981, 780433519, 1006447529, 228344981, 10187739647, 1951104049, 496920113, 2246645239, 2596274977, 10431345763, 2862382343
Offset: 1

Views

Author

James G. Merickel, Oct 22 2012

Keywords

Comments

Like A218169 but with an extra copy, rather than one less copy, of some digit. The exponents here are 2, 3, 5, 6, 7, 8, 8, 9, 10, 12, 11, 13, 15, 15, 16, 16 and 18. A217368 holds the sequence for powers of composites -- necessarily -- with equal counts of all digits.

Examples

			Unlike the parallel sequence, with 2^29 being a digit shy of having exactly  one of each digit, the smallest prime to have a power with two copies of some digit and one of all others is 101723, whose square is 10347568729.
		

Crossrefs

Showing 1-3 of 3 results.