Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121614
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121614 Numbers n that have composite sum of digits and prime sum of squares of digits. +0
1
27, 45, 54, 72, 78, 87, 126, 159, 162, 168, 186, 195, 207, 216, 234, 243, 249, 261, 267, 270, 276, 294, 324, 342, 348, 357, 375, 384, 405, 423, 429, 432, 438, 450, 483, 492, 504, 519, 537, 540, 573, 591, 612, 618, 621, 627, 672, 678, 681, 687, 702, 708, 720 (list; graph; listen)
OFFSET

1,1

EXAMPLE

For example: the sum of digits of 27 is 9 which is composite; the sum of squares of digits of 27 is 53 which is prime.

MATHEMATICA

sod[k_, m_] := Plus @@ (IntegerDigits[k]^m); Select[ Table[n, {n, 1000}], (! PrimeQ[sod[ #, 1]] && PrimeQ[sod[ #, 2]]) &]

CROSSREFS

Cf. A091362 (Primes p such that the sum of the digits of p is not prime, but the sum of the squares of the digits of p is prime) is a prime subsequence of this sequence.

Sequence in context: A124940 A114446 A141229 this_sequence A046340 A046316 A046373

Adjacent sequences: A121611 A121612 A121613 this_sequence A121615 A121616 A121617

KEYWORD

base,nonn

AUTHOR

Tanya Khovanova (tanyakh(AT)yahoo.com), Sep 08 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 7 08:40 EST 2009. Contains 170430 sequences.


AT&T Labs Research