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.

Previous Showing 21-25 of 25 results.

A195985 Least prime such that p^2 is a zeroless n-digit number.

Original entry on oeis.org

2, 5, 11, 37, 107, 337, 1061, 3343, 10559, 33343, 105517, 333337, 1054133, 3333373, 10540931, 33333359, 105409309, 333333361, 1054092869, 3333333413, 10540925639, 33333333343, 105409255363, 333333333367, 1054092553583, 3333333333383, 10540925534207
Offset: 1

Views

Author

M. F. Hasler, Sep 26 2011

Keywords

Examples

			a(1)^2=4, a(2)^2=25, a(3)^2=121, a(4)^2=1369 are the least squares of primes with 1, 2, 3 resp. 4 digits, and these digits are all nonzero.
a(5)=107 since 101^2=10201 and 103^2=10609 both contain a zero digit, but 107^2=11449 does not.
a(1000)=[10^500/3]+10210 (500 digits), since primes below sqrt(10^999) = 10^499*sqrt(10) ~ 3.162e499 have squares of less than 1000 digits, between sqrt(10^999) and 10^500/3 = sqrt(10^1000/9) ~ 3.333...e499 they have at least one zero digit. Finally, the 7 primes between 10^500/3 and a(1000) also happen to have a "0" digit in their square, but not so
  a(1000)^2 = 11111...11111791755555...55555659792849
  = [10^500/9]*(10^500+5) + 6806*10^500+104237294.
		

Crossrefs

Programs

  • PARI
    a(n)={ my(p=sqrtint(10^n\9)-1); until( is_A052382(p^2), p=nextprime(p+2));p}

A305927 Irregular table: row n >= 0 lists all k >= 0 such that the decimal representation of 7^k has n digits '0' (conjectured).

Original entry on oeis.org

0, 1, 2, 3, 6, 7, 10, 11, 19, 35, 4, 5, 8, 12, 14, 15, 18, 27, 43, 47, 51, 9, 16, 17, 20, 24, 26, 28, 29, 34, 38, 52, 93, 13, 21, 22, 23, 30, 31, 36, 37, 42, 44, 46, 49, 58, 25, 32, 33, 50, 53, 54, 59, 66, 122, 55, 56, 57, 61, 62, 64, 67, 72, 73, 74, 39, 40, 48, 60, 71, 77, 79, 96, 108
Offset: 0

Views

Author

M. F. Hasler, Jun 19 2018

Keywords

Comments

The set of (nonempty) rows forms a partition of the nonnegative integers.
Read as a flattened sequence, a permutation of the nonnegative integers.
In the same way, another choice of (basis, digit, base) = (m, d, b) different from (7, 0, 10) will yield a similar partition of the nonnegative integers, trivial if m is a multiple of b.
It remains an open problem to provide a proof that the rows are complete, in the same way as each of the terms of A020665 is unproved.
We can also decide that the rows are to be truncated as soon as no term is found within a sufficiently large search limit. (For all of the displayed rows, there is no additional term up to many orders of magnitude beyond the last term.) That way the rows are well-defined, but it is no longer guaranteed to have a partition of the integers.
The author considers "nice", i.e., appealing, the idea of partitioning the integers in such an elementary yet highly nontrivial way, and the remarkable fact that the rows are just roughly one line long. Will this property remain for large n, or else, how will the row lengths evolve?

Examples

			The table reads:
n \ k's
0 : 0, 1, 2, 3, 6, 7, 10, 11, 19, 35 (= A030703)
1 : 4, 5, 8, 12, 14, 15, 18, 27, 43, 47, 51
2 : 9, 16, 17, 20, 24, 26, 28, 29, 34, 38, 52, 93
3 : 13, 21, 22, 23, 30, 31, 36, 37, 42, 44, 46, 49, 58
4 : 25, 32, 33, 50, 53, 54, 59, 66, 122
5 : 55, 56, 57, 61, 62, 64, 67, 72, 73, 74
...
Column 0 is A063606: least k such that 7^k has n digits '0' in base 10.
Row lengths are 10, 11, 12, 13, 9, 10, 9, 7, 10, 14, 21, 10, 18, 7, 11, 11, 12, 15, 17, 10, ... (A305947).
Last term of the rows are (35, 51, 93, 58, 122, 74, 108, 131, 118, 152, 195, 192, 236, 184, 247, 243, 254, 286, 325, 292, ...), A306117.
The inverse permutation is (0, 1, 2, 3, 10, 11, 4, 5, 12, 21, 6, 7, 13, 33, 14, 15, 22, 23, 16, 8, 24, 34, 35, 36, 25, 46, 26, 17, 27, 28, 37, ...), not in OEIS.
Number of '0's in 7^n = row number of n: (0, 0, 0, 0, 1, 1, 0, 0, 1, 2, 0, 0, 1, 3, 1, 1, 2, 2, 1, 0, 2, 3, 3, 3, 2, 4, 2, 1, 2, 2, 3, 3, 4, 4, ...), not in OEIS.
Number of '0's in 7^n = row number of n: (0, 0, 0, 0, 1, 1, 0, 0, 1, 2, 0, 0, 1, 3, 1, 1, 2, 2, 1, 0, 2, 3, 3, 3, 2, 4, 2, 1, 2, 2, 3, 3, 4, 4, ...), not in OEIS.
		

Crossrefs

Cf. A305932 (analog for 2^k), A305933 (analog for 3^k), A305924 (analog for 4^k), ..., A305929 (analog for 9^k).

Programs

  • Mathematica
    mx = 1000; g[n_] := g[n] = DigitCount[7^n, 10, 0]; f[n_] := Select[Range@mx, g@# == n &]; Table[f@n, {n, 0, 4}] // Flatten (* Robert G. Wilson v, Jun 20 2018 *)
  • PARI
    apply( A305927_row(n,M=50*(n+1))=select(k->#select(d->!d,digits(7^k))==n,[0..M]), [0..19])

A050728 Decimal expansion of 7^n contains no pair of consecutive equal digits (probably finite).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 7, 8, 9, 10, 12, 17, 27
Offset: 0

Views

Author

Patrick De Geest, Sep 15 1999

Keywords

Examples

			7^27 = 65712362363534280139543.
		

Crossrefs

A252482 Exponents n such that the decimal expansion of the power 12^n contains no zeros.

Original entry on oeis.org

0, 1, 2, 3, 5, 6, 8, 10, 14, 20, 26
Offset: 1

Views

Author

M. F. Hasler, Dec 17 2014

Keywords

Comments

Conjectured to be finite.
See A245853 for the actual powers 12^a(n).

Crossrefs

For zeroless powers x^n, see A238938 (x=2), A238939, A238940, A195948, A238936, A195908, A245852, A240945 (k=9), A195946 (x=11), A245853, A195945; A195942, A195943, A103662.
For the corresponding exponents, see A007377, A030700, A030701, A008839, A030702, A030703, A030704, A030705, A030706, this sequence A252482, A195944.
For other related sequences, see A052382, A027870, A102483, A103663.

Programs

  • Mathematica
    Select[Range[0,30],DigitCount[12^#,10,0]==0&] (* Harvey P. Dale, Apr 06 2019 *)
  • PARI
    for(n=0,9e9,vecmin(digits(12^n))&&print1(n","))

A306117 Largest k such that 7^k has exactly n digits 0 (in base 10), conjectured.

Original entry on oeis.org

35, 51, 93, 58, 122, 74, 108, 131, 118, 152, 195, 192, 236, 184, 247, 243, 254, 286, 325, 292, 318, 336, 375, 393, 339, 431, 327, 433, 485, 447, 456, 455, 448, 492, 452, 507, 489, 541, 526, 605, 627, 706, 730, 628, 665, 660, 798, 715, 704, 633, 728
Offset: 0

Views

Author

M. F. Hasler, Jun 22 2018

Keywords

Comments

a(0) is the largest term in A030703: exponents of powers of 7 without digit 0 in base 10.
There is no proof for any of the terms, just as for any term of A020665 and many similar / related sequences. However, the search has been pushed to many magnitudes beyond the largest known term, and the probability of any of the terms being wrong is extremely small, cf., e.g., the Khovanova link.

Crossrefs

Cf. A063606: least k such that 7^k has n digits 0 in base 10.
Cf. A305947: number of k's such that 7^k has n digits 0.
Cf. A305927: row n lists exponents of 6^k with n digits 0.
Cf. A030703: { k | 7^k has no digit 0 } : row 0 of the above.
Cf. A195908: { 7^k having no digit 0 }.
Cf. A020665: largest k such that n^k has no digit 0 in base 10.
Cf. A071531: least k such that n^k contains a digit 0 in base 10.
Cf. A103663: least x such that x^n has no digit 0 in base 10.
Cf. A306112, ..., A306119: analog for 2^k, ..., 9^k.

Programs

  • PARI
    A306117_vec(nMax,M=99*nMax+199,x=7,a=vector(nMax+=2))={for(k=0,M,a[min(1+#select(d->!d,digits(x^k)),nMax)]=k);a[^-1]}
Previous Showing 21-25 of 25 results.