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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A104213 Primes with nonprime sums of digits. 6
13, 17, 19, 31, 37, 53, 59, 71, 73, 79, 97, 103, 107, 109, 127, 149, 163, 167, 181, 211, 233, 239, 251, 257, 271, 277, 293, 307, 347, 349, 367, 383, 389, 419, 431, 433, 439, 457, 479, 491, 499, 503, 509, 521, 523, 541, 547, 563, 569, 587, 613, 617, 619, 631 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes with nonprime digital sums. [Juri-Stepan Gerasimov, Apr 23 2010]

Subsequence of primes of A104211. - Michel Marcus, May 03 2015

LINKS

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

EXAMPLE

Sum of digits of prime 13 = 4, which is not prime, so 13 is in the sequence.

MATHEMATICA

Select[ Prime[ Range[115]], !PrimeQ[Plus @@ IntegerDigits[ # ]] &] (* Robert G. Wilson v, Mar 16 2005 *)

PROG

(MAGMA) [p: p in PrimesUpTo(600) | not IsPrime(&+Intseq(p))]; // Vincenzo Librandi, May 03 2015

(PARI) select(p->!isprime(sumdigits(p)), primes(100)) \\ Joerg Arndt, May 03 2015

CROSSREFS

Cf. A046704 (primes with prime sums of digits).

Sequence in context: A249953 A180530 A059500 * A178550 A325934 A105896

Adjacent sequences:  A104210 A104211 A104212 * A104214 A104215 A104216

KEYWORD

nonn,base,easy

AUTHOR

Cino Hilliard, Mar 13 2005

EXTENSIONS

Definition clarified by Jonathan Sondow, Jun 11 2012

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 October 14 05:08 EDT 2019. Contains 327995 sequences. (Running on oeis4.)