|
Search: id:A061248
|
|
|
| A061248 |
|
Primes at which sum of digits strictly increases. |
|
+0 3
|
|
| 2, 3, 5, 7, 17, 19, 29, 59, 79, 89, 199, 389, 499, 599, 997, 1889, 1999, 2999, 4999, 6899, 8999, 29989, 39989, 49999, 59999, 79999, 98999, 199999, 389999, 598999, 599999, 799999, 989999, 2998999, 2999999, 4999999, 6999899, 8989999, 9899999
(list; graph; listen)
|
|
|
OFFSET
|
0,1
|
|
|
EXAMPLE
|
a(6) = 19, sum of digits is 10; a(7) = 29, sum of digits is 11 and 11 > 10.
|
|
MAPLE
|
P:=proc(n) local a, i, k, w; a:=2; print(a); for i from 2 by 1 to n do w:=0; k:=ithprime(i); while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; if w>a then print(ithprime(i)); a:=w; fi; od; end: P(5000); [From Paolo P. Lava (ppl(AT)spl.at), Feb 25 2009]
|
|
CROSSREFS
|
For the actual digit sums see A062132.
Sequence in context: A069802 A067954 A158082 this_sequence A059498 A158085 A119833
Adjacent sequences: A061245 A061246 A061247 this_sequence A061249 A061250 A061251
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Apr 23 2001
|
|
EXTENSIONS
|
More terms from Patrick De Geest (pdg(AT)worldofnumbers.com), Jun 05 2001.
|
|
|
Search completed in 0.002 seconds
|