OFFSET
1,1
COMMENTS
The number of video tapes you can label sequentially starting with "1" using the n different number stickers that come in the box, working in base n.
Adapted from puzzle described in the Ponder This web page.
REFERENCES
Michael Brand was the originator of the problem.
LINKS
Gregory Marton, Table of n, a(n) for n = 1..100
IBM Corp., April 2004 "Ponder This" challenge.
IBM Corp., April 2004 "Ponder This" solutions.
FORMULA
When n is even, a(n) = 2*n^(n/2) - n + 1.
EXAMPLE
John Fletcher gives the following treatment of the case of odd B at the 'solutions' link: a(10)=199991 because you can label 199990 tapes using 199990 sets of base-10 sticky digit labels, but the 199991st tape can't be labeled with 199991 sets of sticky digit labels.
CROSSREFS
KEYWORD
nonn,base,changed
AUTHOR
Ken Bateman (kbateman(AT)erols.com) and Graeme McRae, Apr 01 2004
EXTENSIONS
Edited by Robert G. Wilson v, based on comments from Don Coppersmith and John Fletcher, May 11 2004
a(13) corrected and a(23) onwards added by Gregory Marton, Jul 29 2023
STATUS
approved