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!)
A092955 Starting at the integer 0, add one of each base-n digit in base n to a pile and then take from this pile the digits required to construct the current integer. Continue consecutively until reaching an integer, a(n), that requires digits not in the pile. 0
5, 13, 85, 183, 1729, 3932, 49153, 102790, 1600001, 3179144, 59719681, 114818732 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
For even bases n > 4, the formula is a(n) := 2*n^(n-3) - 4*n^(n-4) + 1. No closed form is known for odd n.
EXAMPLE
a(2)=5 because we first add 01 to the pile and then take 0 to make the integer 0. Next, we add another 01 to the pile (making it 011) and take the digit 1 to make the integer 1. Next we add 01 and take 10. Next we add 01 and take 11 (now the pile is just 00). Next we add 01 and take 100 (leaving just 0). Finally, we add 01 and now the pile is 001 but we need to form the number 101. So 101 (base 2) = 5 (base 10) is the first integer that cannot be formed.
CROSSREFS
Sequence in context: A324418 A359316 A165262 * A190949 A263468 A350467
KEYWORD
base,nonn
AUTHOR
Michael Brundage, Apr 24 2004
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 2 11:11 EDT 2024. Contains 373040 sequences. (Running on oeis4.)