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!)
A001731 a(n) is 9 written in base 10-n. 3
9, 10, 11, 12, 13, 14, 21, 100, 1001, 111111111 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
MATHEMATICA
Append[Array[FromDigits@ IntegerDigits[9, 10 - #] &, 9, 0], FromDigits@ ConstantArray[1, 9]] (* Michael De Vlieger, Feb 02 2022 *)
PROG
(PARI) a(n) = if (n==9, 111111111, fromdigits(digits(9, 10-n), 10)); \\ Michel Marcus, Feb 02 2022
CROSSREFS
Sequence in context: A196108 A181699 A281196 * A268360 A297263 A296704
KEYWORD
fini,nonn,base,full
AUTHOR
EXTENSIONS
Corrected by Henry Bottomley, Nov 23 2000
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 May 28 22:13 EDT 2024. Contains 372921 sequences. (Running on oeis4.)