Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A090580
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A090580 Number of numbers with 5 decimal digits and sum of digits = n. +0
3
1, 5, 15, 35, 70, 126, 210, 330, 495, 714, 992, 1330, 1725, 2170, 2654, 3162, 3675, 4170, 4620, 4998, 5283, 5460, 5520, 5460, 5283, 4998, 4620, 4170, 3675, 3162, 2654, 2170, 1725, 1330, 992, 714, 495, 330, 210, 126, 70, 35, 15, 5, 1 (list; graph; listen)
OFFSET

1,2

COMMENT

There are 90000 numbers with 5 decimal digits, the smallest being 10000 and the largest 99999.

EXAMPLE

a(2)=5: 10001, 10010, 10100, 11000, 20000.

PROGRAM

(PARI) b=vector(45, i, 0); for(n=10000, 99999, a=eval(Vec(Str(n))); b[sum(j=1, 5, a[j])]++); for(n=1, 45, print1(b[n], ", ")) - Herman Jamke (hermanjamke(AT)fastmail.fm), Oct 19 2006

CROSSREFS

Cf. A071817 3-digit numbers, A090579 4-digit numbers, A090581 6-digit numbers.

Sequence in context: A008487 A000743 A138779 this_sequence A000332 A140227 A049016

Adjacent sequences: A090577 A090578 A090579 this_sequence A090581 A090582 A090583

KEYWORD

base,fini,full,nonn

AUTHOR

Hugo Pfoertner (hugo(AT)pfoertner.org), Jan 12 2004

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 July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research