login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A069532 Smallest even number with digit sum n. 20
10, 2, 12, 4, 14, 6, 16, 8, 18, 28, 38, 48, 58, 68, 78, 88, 98, 198, 298, 398, 498, 598, 698, 798, 898, 998, 1998, 2998, 3998, 4998, 5998, 6998, 7998, 8998, 9998, 19998, 29998, 39998, 49998, 59998, 69998, 79998, 89998, 99998, 199998, 299998, 399998, 499998 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Chai Wah Wu, Table of n, a(n) for n = 1..100

MATHEMATICA

t={}; Do[i=2; While[Total[IntegerDigits[i]]!=n, i=i+2]; AppendTo[t, i], {n, 48}]; t (* Jayanta Basu, May 18 2013 *)

PROG

(PARI) a(n) = {my(k = 2); while(sumdigits(k) != n, k+=2); k; } \\ Michel Marcus, Mar 18 2016

CROSSREFS

Cf. A069521 to A069530.

Cf. A000918 (smallest even number with bit sum n), A051885 (smallest number with digit sum n).

Sequence in context: A269631 A278649 A084455 * A084461 A005483 A228276

Adjacent sequences:  A069529 A069530 A069531 * A069533 A069534 A069535

KEYWORD

base,nonn

AUTHOR

Amarnath Murthy, Apr 01 2002

EXTENSIONS

More terms from Ray Chandler, Jul 28 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified April 28 16:04 EDT 2017. Contains 285578 sequences.