login
A062334
Primes starting and ending with 7.
3
7, 727, 757, 787, 797, 7027, 7057, 7127, 7177, 7187, 7207, 7237, 7247, 7297, 7307, 7417, 7457, 7477, 7487, 7507, 7517, 7537, 7547, 7577, 7607, 7687, 7717, 7727, 7757, 7817, 7867, 7877, 7907, 7927, 7937, 70067, 70117, 70157, 70177, 70207, 70237
OFFSET
1,1
LINKS
EXAMPLE
7687 is a member, as it is a prime and the first and the last digits are both 7.
PROG
(PARI) { default(primelimit, 800000); n=-1; t=log(10); forprime (p=2, 800000, if ((p-10*(p\10)) == 7 && (p\10^(log(p)\t)) == 7, write("b062334.txt", n++, " ", p); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 05 2009
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jun 21 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Jun 29 2001
Offset changed by Andrew Howroyd, Sep 17 2024
STATUS
approved