The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A167488 Primes p such that (p reversed)-6 is also a prime. 2

%I #9 Sep 08 2022 08:45:48

%S 11,31,37,53,59,71,73,97,311,313,331,337,349,353,359,367,373,379,389,

%T 397,541,547,563,577,593,701,719,733,751,757,911,937,947,953,971,977,

%U 983,991,3001,3011,3037,3049,3061,3079,3083,3109,3137,3163,3167,3191

%N Primes p such that (p reversed)-6 is also a prime.

%H Vincenzo Librandi, <a href="/A167488/b167488.txt">Table of n, a(n) for n = 1..1000</a>

%e 31 ->13-6=7; 53 ->35-6=29; 73 ->37-6=31.

%t Select[Prime[Range[3,460]],PrimeQ[FromDigits[Reverse[ IntegerDigits[ #]]]-6]&] (* _Harvey P. Dale_, Sep 13 2011 *)

%o (Magma) [p: p in PrimesInInterval(11,4000) | IsPrime(q-6) where q is Seqint(Reverse(Intseq(p)))]; // _Vincenzo Librandi_, Sep 15 2013

%K nonn,base

%O 1,1

%A _Vincenzo Librandi_, Nov 05 2009

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 May 14 14:46 EDT 2024. Contains 372533 sequences. (Running on oeis4.)