The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080480 Largest number formed by using all the digits (with multiplicity) of next n numbers. 7
1, 32, 654, 98710, 5432111111, 987622111110, 87654322222222, 9654333333332210, 987544444443333210, 98765555555444443210, 9876666666665555543210, 988777777777776666543210, 99998888888888877654321100, 9999999998765544332211111110000000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(4) = 98710 formed by using digits of 7,8,9 and 10.
MATHEMATICA
FromDigits[Sort[Flatten[IntegerDigits/@#], Greater]]&/@Table[ Reverse[ Range[ (n(n+1))/2+1, ((n+1)(n+2))/2]], {n, 0, 15}] (* Harvey P. Dale, May 13 2017 *)
PROG
(Python)
def a(n):
s = "".join(sorted("".join(map(str, range((n-1)*n//2+1, n*(n+1)//2+1)))))
return int("".join(sorted(s, reverse=True)))
print([a(n) for n in range(1, 15)]) # Michael S. Branicky, Jan 23 2021
CROSSREFS
Cf. A053067 (next n concatenated), A076068 (smallest without zeros), A080479 (smallest).
Sequence in context: A192392 A076072 A076069 * A028152 A028176 A028151
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Mar 11 2003
EXTENSIONS
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 19 2003
More terms from Harvey P. Dale, May 13 2017
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 19 02:16 EDT 2024. Contains 373492 sequences. (Running on oeis4.)