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.

A132394 Left-truncatable primes in the order generated (with no zero digits).

Original entry on oeis.org

2, 3, 5, 7, 13, 23, 43, 53, 73, 83, 17, 37, 47, 67, 97, 113, 313, 613, 223, 523, 823, 443, 643, 743, 353, 653, 853, 953, 173, 373, 673, 773, 283, 383, 683, 883, 983, 317, 617, 137, 337, 937, 347, 547, 647, 947, 167, 367, 467, 967, 197, 397, 797, 997, 2113
Offset: 1

Views

Author

Harry J. Smith, Nov 11 2007

Keywords

Comments

The most logical way of generating the Left-truncatable primes generates them in this order. Last term is a(4260)=357686312646216567629137.

Crossrefs

Cf. A024785.

Programs

  • PARI
    {fileO="b132394.txt";v=vector(4260);v[1]=2;v[2]=3;v[3]=5;v[4]=7;i=0;j=4; write(fileO,"1 2");write(fileO,"2 3");write(fileO,"3 5");write(fileO,"4 7"); until(i>=j,i++;p=v[i];P10=10^(1+log(p)\log(10)); for(k=1,9,z=k*P10+p;if(isprime(z),j++;v[j]=z;write(fileO,j," ",z);)));} \\ Harry J. Smith, Sep 18 2008

Extensions

Edited by Jason G. Wurtzel, Oct 06 2010