[go: up one dir, main page]

login
A132394
Left-truncatable primes in the order generated (with no zero digits).
2
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,1
COMMENTS
The most logical way of generating the Left-truncatable primes generates them in this order. Last term is a(4260)=357686312646216567629137.
LINKS
PROG
(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
CROSSREFS
Cf. A024785.
Sequence in context: A233862 A235394 A126092 * A295262 A006992 A185231
KEYWORD
base,fini,full,nonn
AUTHOR
Harry J. Smith, Nov 11 2007
EXTENSIONS
Edited by Jason G. Wurtzel, Oct 06 2010
STATUS
approved