login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A067841 Numbers n such that n and prime(n) end with the same three digits. 3
1491, 1723, 4119, 4437, 6347, 6931, 7817, 9551, 12083, 12637, 13647, 15103, 16637, 17181, 18697, 20281, 22743, 23071, 23787, 24833, 25753, 25833, 26173, 26349, 27129, 29201, 29287, 29543, 30059, 30563, 33163, 33673, 34241, 35919, 36003, 36853, 37289, 38653, 39927 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Subsequence of A067838. - Michel Marcus, Nov 18 2013

LINKS

Table of n, a(n) for n=1..39.

EXAMPLE

prime(1491)=12491 hence 1491 is in the sequence.

MATHEMATICA

Select[Range[2, 4 10^4], Mod[Prime[#], 1000]== Mod[#, 1000] &] (* Vincenzo Librandi, Oct 03 2017 *)

PROG

(PARI) isok(n) = (n % 1000) == (prime(n) % 1000); \\ Michel Marcus, Nov 18 2013

(MAGMA) [n: n in [1..4*10^4] | (n mod 1000) eq (NthPrime(n) mod 1000)]; // Vincenzo Librandi Oct 03 2017

CROSSREFS

Sequence in context: A288727 A137705 A171617 * A237968 A062912 A236732

Adjacent sequences:  A067838 A067839 A067840 * A067842 A067843 A067844

KEYWORD

easy,nonn,base

AUTHOR

Benoit Cloitre, Mar 07 2002

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 16 06:46 EDT 2019. Contains 324145 sequences. (Running on oeis4.)