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.

A277056 Least k such that any sufficiently long repunit multiplied by k is a pandigital number in numerical base n.

Original entry on oeis.org

2, 5, 7, 34, 195, 727, 3724, 9124, 92115, 338161, 2780514, 6871290, 99000993
Offset: 2

Views

Author

Andrey Zabolotskiy and Altug Alkan, Sep 26 2016

Keywords

Comments

Trailing terms of rows of A277055.
Written in base n, the terms read: 10, 12, 13, 114, 523, 2056, 7214, 13457, 92115, 21107A, B21116, 156776A, D211117, ...

Examples

			Any binary repunit multiplied by 2 is a binary pandigital, so a(2)=2 (10 in binary).
k-th decimal repunit for k>4 multiplied by 92115 gives a decimal pandigital number (see A277054) with no number less than 92115 having the same property, so a(10)=92115.
		

Crossrefs

Formula

Conjecture: for even n>4, a(n) = (n-2)*n^(n/2-1) + n^(n/2-2) + (n^(n/2)-1)/(n-1) + n/2 - 1.

A277057 Least k such that n-th repunit times k contains all digits from 1 to 9.

Original entry on oeis.org

123456789, 11225079, 1113198, 210789, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115, 11115
Offset: 1

Views

Author

Andrey Zabolotskiy and Altug Alkan, Sep 26 2016

Keywords

Comments

Starting from n=5, a(n)=A277059(10)=11115, and the corresponding pandigital numbers are 123499...98765 (n-4 nines). Actually, for all n, the resulting numbers are zeroless pandigitals.
a(1)-a(5) constitute row 10 of A277058.
a(n)*A002275(n) is 123456789, 123475869, 123564978, 234186579, 123498765, ...

Examples

			a(2) = 11225079 because A002275(2)*11225079 = 11*11225079 = 123475869 that contains all digits from 1 to 9 and 11225079 is the least number with this property.
		

Crossrefs

Programs

  • PARI
    isok(n) = my(d=digits(n)); vecmin(d) && (#Set(digits(n)) == 9);
    a(n) = {if (n==1, return(123456789)); my(k=1); while(! isok(k*(10^n - 1)/9), k++); k;} \\ Michel Marcus, Sep 26 2019

A277058 Irregular array by rows: A(n,m) is the least number which gives a number containing all nonzero digits when multiplied by m-th repunit for base n; each row is truncated when reaches its stationary point.

Original entry on oeis.org

1, 5, 4, 27, 6, 194, 33, 14, 1865, 425, 45, 22875, 17603, 403, 370, 342391, 38094, 8631, 588, 6053444, 605410, 67228, 7385, 3364, 123456789, 11225079, 1113198, 210789, 11115, 2853116705
Offset: 2

Views

Author

Andrey Zabolotskiy and Altug Alkan, Sep 26 2016

Keywords

Comments

For row n, the initial number is A023811(n) and the trailing number is A277059(n). Row 10 is A277057(1)-A277057(5) [note that the initial row is row 2].

Examples

			The first rows of the array are:
1, (1, 1...)
5, 4, (4, 4...)
27, 6, (6, 6...)
194, 33, 14,
1865, 425, 45,
22875, 17603, 403, 370,
342391, 38094, 8631, 588,
6053444, 605410, 67228, 7385, 3364,
123456789, 11225079, 1113198, 210789, 11115
		

Crossrefs

Showing 1-3 of 3 results.