OFFSET
1,2
COMMENTS
Sequence is bounded - see A202286.
FORMULA
EXAMPLE
For n=6, p = 71, p' = 17 and there are three solutions:
71 = 2*17 + 3771 = 4*17 + 371 = 6*17 - 31, so a(6) = 3.
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Mar 13 2012
STATUS
approved