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!)
A166561 Primes p such that sum of digits + 1 is prime. 2
2, 11, 13, 19, 31, 37, 73, 79, 97, 101, 103, 109, 127, 163, 181, 211, 271, 277, 307, 349, 367, 433, 439, 457, 499, 523, 541, 547, 613, 619, 631, 673, 691, 709, 727, 769, 787, 811, 853, 859, 877, 907, 967, 1009 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
2 belongs to this sequence because 2+1=3 prime; 11 because 1+1+1=3; 127 because 1+2+7+1=11; 1009 because 1+0+0+9+1=11.
MATHEMATICA
Select[Prime[Range[210]], PrimeQ[Plus @@IntegerDigits[#] + 1]&] (* Vincenzo Librandi, Sep 15 2013 *)
PROG
(Magma) [p: p in PrimesUpTo(1500) | IsPrime(q) where q is 1+(&+Intseq(p))]; // Vincenzo Librandi, Jun 07 2014
CROSSREFS
Cf. similar sequences listed in A243586.
Sequence in context: A095743 A106984 A167412 * A179462 A207192 A240097
KEYWORD
nonn,base
AUTHOR
Vincenzo Librandi, Oct 28 2009
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 April 19 05:19 EDT 2024. Contains 371782 sequences. (Running on oeis4.)