Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A118559
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A118559 Lucky numbers for which both the sum of the digits and the product of the digits is also a lucky number. +0
1
1, 3, 7, 9, 111, 133, 135, 171, 331, 357, 535, 537, 553, 717, 735, 11113, 11137, 11173, 11371, 11373, 11535, 11731, 11911, 13113, 13117, 13179, 13317, 13335, 13371, 13515, 13533, 13551, 15333, 15511, 15531, 17313, 17391, 17737, 17913, 17997 (list; graph; listen)
OFFSET

1,2

EXAMPLE

133 is in the sequence because: (1) it is a lucky number, (2) the sum of its digits 1+3+3=7 is a lucky number, (3) the product of its digits 1*3*3=9 is a lucky number.

MATHEMATICA

lst = Range[1, 19172, 2]; i = 2; While[ i <= (len = Length@lst) && (k = lst[[i]]) <= len, lst = Drop[lst, {k, len, k}]; i++ ]; Select[lst, MemberQ[lst, Plus @@ IntegerDigits@# ] && MemberQ[lst, Times @@ IntegerDigits@# ] &] (* Robert G. Wilson v *)

CROSSREFS

Cf. A000959.

Sequence in context: A003033 A087147 A103115 this_sequence A127789 A112105 A065501

Adjacent sequences: A118556 A118557 A118558 this_sequence A118560 A118561 A118562

KEYWORD

base,nonn

AUTHOR

Luc Stevens (lms022(AT)yahoo.com), May 07 2006

EXTENSIONS

Corrected and extended by Adam Panagos (adam.panagos(AT)gmail.com) and Robert G. Wilson v (rgwv(at)rgwv.com), May 10 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 November 18 20:14 EST 2008. Contains 147244 sequences.


AT&T Labs Research