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.

A144714 Left-truncatable primes that contain one or more zero digits.

Original entry on oeis.org

103, 107, 307, 503, 607, 907, 1013, 1097, 1103, 1307, 1607, 1907, 2003, 2017, 2053, 2083, 2503, 3023, 3037, 3067, 3083, 3307, 3607, 3907, 4003, 4007, 4013, 4073, 5003, 5023, 5107, 5503, 6007, 6037, 6043, 6047, 6053, 6067, 6073, 6607, 6907, 7013, 7043
Offset: 1

Views

Author

Harry J. Smith, Oct 08 2008

Keywords

Comments

These are the terms in sequence A033664 that are not in A024785. This sequence is infinitely long.

Crossrefs

Programs

  • PARI
    zeroin(z)={until(z==0,q=z\10;r=z-10*q;if(r==0,return(1));z=q;);return(0);}
    {fileO="b144714.txt";v=vector(15000);v[1]=2;v[2]=3;v[3]=5;v[4]=7;j=4;m=0;
    p10=1;until(0,p10*=10;j0=j;for(k=1,9,k10=k*p10;for(i=1,j0,z=k10+v[i];
    if(isprime(z),j++;v[j]=z;if(zeroin(z),m++;
    write(fileO,m," ",z);if(m==10000,break(3));)))));}