login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A061388
Sum of digits = 5 times number of digits.
20
5, 19, 28, 37, 46, 55, 64, 73, 82, 91, 159, 168, 177, 186, 195, 249, 258, 267, 276, 285, 294, 339, 348, 357, 366, 375, 384, 393, 429, 438, 447, 456, 465, 474, 483, 492, 519, 528, 537, 546, 555, 564, 573, 582, 591, 609, 618, 627, 636, 645, 654, 663, 672, 681
OFFSET
1,1
LINKS
EXAMPLE
186 is a term as the arithmetic mean of the digits is (1+8+6)/3 = 5.
MATHEMATICA
Select[Range[685], Total[x=IntegerDigits[#]]==5*Length[x] &]
PROG
(Magma) [ n: n in [1..700] | &+Intseq(n) eq 5*#Intseq(n) ]; // Bruno Berselli, Jun 30 2011
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, May 03 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 16 2001
STATUS
approved