Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A066310
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A066310 n < (product of digits of n) * (sum of digits of n). +0
1
2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 18, 19, 23, 24, 25, 26, 27, 28, 29, 33, 34, 35, 36, 37, 38, 39, 42, 43, 44, 45, 46, 47, 48, 49, 52, 53, 54, 55, 56, 57, 58, 59, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 74, 75, 76, 77, 78, 79, 82, 83, 84, 85, 86, 87, 88, 89, 92, 93, 94, 95 (list; graph; listen)
OFFSET

1,1

EXAMPLE

14 < (1*4)*(1+4) = 20, so 14 is a term of this sequence.

n=199, a[n]=(1+9+9).1.9.9=1539>199, so 199 is here.

MATHEMATICA

asum[x_] := Apply[Plus, IntegerDigits[x]] apro[x_] := Apply[Times, IntegerDigits[x]] sz[x_] := asu[x]*apro[x] Do[s=sz[n]; If[Greater[s, n], Print[n]], {n, 1, 200}]

PROGRAM

(ARIBAS): function a066311(a, b: integer); var n, k, j, p, d: integer; s: string; begin for n := a to b do s := itoa(n); k := 0; p := 1; for j := 0 to length(s) - 1 do d := atoi(s[j..j]); k := k + d; p := p*d; end; if n < p*k then write(n, ", "); end; end; end; a066311(0, 120).

CROSSREFS

Cf. A038369, A049101-A049106, A034710, A061672, A066306-A066309.

Sequence in context: A075776 A033088 A032577 this_sequence A032987 A092597 A125506

Adjacent sequences: A066307 A066308 A066309 this_sequence A066311 A066312 A066313

KEYWORD

base,nonn

AUTHOR

Labos E. (labos(AT)ana.sote.hu) and Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Dec 13 2001

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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research