|
Search: id:A064399
|
|
|
| A064399 |
|
Sum of the digits of n exceeds the sum of the digits of n^2. |
|
+0 1
|
|
| 39, 48, 49, 79, 149, 179, 249, 318, 348, 349, 389, 390, 399, 448, 449, 480, 489, 490, 498, 499, 548, 549, 579, 649, 679, 749, 789, 790, 795, 799, 849, 889, 895, 898, 899, 949, 1049, 1096, 1149, 1249, 1429, 1488, 1489, 1490, 1497, 1498, 1499, 1735, 1739
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=1,...,1000
|
|
MATHEMATICA
|
Select[ Range[ 2500 ], Apply[ Plus, IntegerDigits[ # ] ] > Apply[ Plus, IntegerDigits[ #^2 ] ] & ]
|
|
PROGRAM
|
(PARI) SumD(x)= { local(s); s=0; while (x>9, s+=x-10*(x\10); x\=10); return(s + x) } { n=0; for (m=1, 10^9, if (SumD(m) > SumD(m^2), write("b064399.txt", n++, " ", m); if (n==1000, break)) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Sep 13 2009]
|
|
CROSSREFS
|
Sequence in context: A119028 A046512 A143746 this_sequence A050439 A053181 A020305
Adjacent sequences: A064396 A064397 A064398 this_sequence A064400 A064401 A064402
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Sep 28 2001
|
|
|
Search completed in 0.002 seconds
|