login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271044 Primes p such that p and prime(p) end with the same two digits. 4
823, 1033, 1223, 1723, 1811, 2027, 2833, 3079, 3389, 3461, 3659, 4691, 5021, 5231, 5501, 5581, 5711, 5851, 6143, 6151, 6581, 7043, 7151, 7253, 7411, 7759, 7817, 8429, 8599, 9551, 10613, 10733, 10789, 11069, 11161, 11701, 12011, 12637, 12941, 13381, 13619 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Subsequence of A067838.
LINKS
EXAMPLE
823 is in the sequence because 823 % 100 = 23, prime(823) = 6323 and 6323 % 100 = 23.
MATHEMATICA
Select[Prime@ Range@ 1620, Mod[#, 100] == Mod[Prime@ #, 100] &] (* Michael De Vlieger, Mar 29 2016 *)
PROG
(PARI) L=List(); forprime(p=2, 20000, if(p%100==prime(p)%100, listput(L, p))); Vec(L)
(Python)
from sympy import isprime, prime
for p in range(2, 20000):
if(prime(p)%100==p%100 and isprime(p)):print(p)
#, Soumil Mandal, Apr 06 2016
CROSSREFS
Sequence in context: A189121 A364538 A326817 * A252539 A033531 A088360
KEYWORD
nonn,easy,base
AUTHOR
Colin Barker, Mar 29 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 07:27 EDT 2024. Contains 371265 sequences. (Running on oeis4.)