Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A062382
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A062382
%S A062382 257,275,345,354,435,453,527,534,543,572,725,752,1258,1285,1528,1582,
%T A062382 1825,1852,2158,2185,2235,2253,2325,2352,2518,2523,2532,2581,2815,2851,
%U A062382 3225,3252,3522,5128,5182,5218,5223,5232,5281,5322,5812,5821,8125,8152
%N A062382 Numbers whose product of digits is 5 times the sum of the digits.
%H A062382 Harry J. Smith, <a href="b062382.txt">Table of n, a(n) for n=0,...,500</
               a>
%e A062382 2235 belong to the sequence as (2*2*3*5)/(2+2+3+5) =60/12 = 5.
%o A062382 (PARI) SumD(x)= { s=0; while (x>9, s+=x-10*(x\10); x\=10); return(s + 
               x) } ProdD(x)= { p=1; while (x>9, p*=(x-10*(x\10)); x\=10); return(p*x) 
               } { n=-1; for (m=1, 10^9, if (ProdD(m)==5*SumD(m), write("b062382.txt", 
               n++, " ", m); if (n==500, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), 
               Aug 06 2009]
%Y A062382 Sequence in context: A045030 A139653 A060879 this_sequence A105345 A060261 
               A158231
%Y A062382 Adjacent sequences: A062379 A062380 A062381 this_sequence A062383 A062384 
               A062385
%K A062382 nonn,base,easy
%O A062382 0,1
%A A062382 Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jun 27 2001
%E A062382 More terms from Larry Reeves (larryr(AT)acm.org), Jul 06 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 29 12:46 EST 2009. Contains 167659 sequences.


AT&T Labs Research