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.

A104179 Primes that are either single-digit primes or a concatenation of two earlier terms.

Original entry on oeis.org

2, 3, 5, 7, 23, 37, 53, 73, 223, 233, 337, 353, 373, 523, 733, 773, 2237, 2333, 3373, 3533, 3733, 5233, 5237, 5323, 7333, 7523, 23333, 23773, 25237, 32237, 33533, 33773, 35323, 35353, 37223, 37337, 52237, 53233, 53353, 53773, 73523, 75323, 77323
Offset: 1

Views

Author

David W. Wilson, Mar 27 2009

Keywords

Crossrefs

Cf. A376433 (number of n-digit terms), A376434 (smallest n-digit term), A376435 (largest n-digit term).

Programs

  • PARI
    isDW(p,i=1)={while(p>i*=10,setminus(Set(divrem(p,i)),a)||return(eval(Set(Vec(Str(p)))[1])));p<9}
    a=[]; forprime( p=2, 99999, isDW(p) & !print1(p",") & a=setunion(a,Set(p))) \\ M. F. Hasler, Mar 28 2009

Formula

Up to 10^12 there are only 1003 terms and the n-th term seems to be roughly n^(10/e). - Jean-Marc Falcoz, Mar 28 2009
Although the n-th term does seem to be O(n^c), a better estimate for c is 4.38 rather than 10/e. The multiplier will be bounded but not convergent -- it jumps by a factor of 20/7 as we cross from a k-digit number beginning 777 to a (k+1)-digit number beginning 2222. - Karl W. Heuer, Sep 23 2024

Extensions

More terms from M. F. Hasler, Mar 28 2009

A376433 Number of n-digit primes in A104179.

Original entry on oeis.org

4, 4, 8, 10, 17, 24, 46, 94, 139, 241, 416, 688, 1170, 1969, 3345, 5674, 9527, 16316, 27464, 46668, 78897, 134097, 226457, 381906, 645210, 1093472, 1843869, 3127129, 5278196
Offset: 1

Views

Author

Karl W. Heuer, Sep 22 2024

Keywords

Examples

			a(3) = 8 because there are eight 3-digit primes {223, 233, 337, 353, 373, 523, 733, 773} that are concatenations of a 1-digit prime and a 2-digit prime that is itself a concatenation of 1-digit primes.
		

Crossrefs

A376435 Largest n-digit term in A104179.

Original entry on oeis.org

7, 73, 773, 7523, 77323, 753773, 7732337, 77323733, 773337223, 7773337223, 77735235323, 777352335323, 7773232237523, 77733372233533, 777352353232333, 7773733335332333, 77737523727333737, 777733372232237537, 7777352335323753353, 77773733335332333773
Offset: 1

Views

Author

Karl W. Heuer, Sep 22 2024

Keywords

Examples

			a(3) = 773 because 773 is the largest 3-digit prime that is a concatenation of a 1-digit prime and a 2-digit prime that is itself a concatenation of 1-digit primes.
		

Crossrefs

Subsequence of A104179.
Showing 1-3 of 3 results.