Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A121642
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A121642 Numbers with composite sum of digits and prime sum of cubes of digits. +0
1
799, 889, 898, 979, 988, 997, 2779, 2797, 2977, 3499, 3949, 3994, 4399, 4588, 4777, 4858, 4885, 4939, 4993, 5488, 5668, 5686, 5848, 5866, 5884, 6568, 6586, 6658, 6667, 6676, 6685, 6766, 6856, 6865, 7099, 7279, 7297, 7477, 7666, 7729, 7747, 7774, 7792 (list; graph; listen)
OFFSET

1,1

EXAMPLE

For example the sum of digits of 799 is 25 which is composite; the sum of the cubes of its digits is 343 + 729 + 729 = 1801, which is prime.

MATHEMATICA

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

CROSSREFS

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

Sequence in context: A108252 A045261 A101039 this_sequence A035886 A043404 A015065

Adjacent sequences: A121639 A121640 A121641 this_sequence A121643 A121644 A121645

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 August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research