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!)
A220136 Number of ways that a number n can be written as ddd...d where d is a digit in base b with 1 < b < n-1. 17
0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 2, 1, 0, 2, 0, 1, 2, 1, 0, 3, 0, 2, 1, 2, 0, 2, 2, 2, 1, 1, 1, 3, 0, 1, 1, 4, 0, 3, 1, 2, 2, 1, 0, 4, 0, 2, 1, 2, 0, 3, 1, 2, 2, 1, 0, 5, 0, 2, 4, 2, 1, 3, 0, 2, 1, 3, 0, 4, 1, 1, 2, 2, 1, 3, 0, 5, 1, 1, 0, 5, 2, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,15
COMMENTS
When a(n) > 0, n is called Brazilian (A125134). The first number having exactly k representations is A284758(k) for k >= 0 or A066460(k+1) for k > 0. - Bernard Schott, Apr 08 2017
LINKS
MATHEMATICA
brazBases[n_] := Select[Range[2, n - 2], Length[Union[IntegerDigits[n, #]]] == 1 &]; Table[Length[brazBases[n]], {n, 100}]
PROG
(PARI) a(n) = sum(i=2, n-2, #vecsort(digits(n, i), , 8)==1) \\ David A. Corneth, Apr 08 2017
CROSSREFS
Sequence in context: A091392 A036577 A317189 * A322454 A133693 A002325
KEYWORD
nonn
AUTHOR
T. D. Noe, Dec 26 2012
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 9 22:30 EDT 2024. Contains 372354 sequences. (Running on oeis4.)