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!)
A327593 Numbers n where an integer b that is a power of two > 2 with 1 < b < n exists such that n is a base-b repdigit. 0
5, 9, 10, 15, 17, 18, 21, 27, 33, 34, 36, 42, 45, 51, 54, 63, 65, 66, 68, 73, 85, 99, 102, 119, 129, 130, 132, 136, 146, 153, 165, 170, 187, 195, 198, 204, 219, 221, 231, 238, 255, 257, 258, 260, 264, 273, 292, 297, 325, 330, 341, 363, 365, 387, 390, 396, 429 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Let b(n) = A226542(n)-1. This sequence is a supersequence of b.

Conjecture 1: Let c(n) = A001220(n)-1. This sequence is a supersequence of c.

Conjecture 2: This is a supersequence of A240719.

From Bernard Schott, Sep 19 2019: (Start)

There are 3 distinct families of terms in this sequence:

1) Integers of the form: 2^q  + 1 = 11_2^q with q >= 2.

First few terms: 5, 9, 17, 33, 65, 129, ...; this is A000051 \ {2, 3}. As 11_b is not a Brazilian representation, five of these terms are not Brazilian, they are 9 and the four known Fermat primes in A019434: 5, 17, 257 and 65537; all the other terms are composite and Brazilian but in a base that is not a power of two as 65 = 11_64 = 55_12.

2) Integers of the form: m * (2^q+1) = (mm)_2^q with q >= 2 and 1 < m < 2^q.

First few terms: 10, 15, 18, 27, 34, 36, ... These numbers are Brazilian with 2 digits in a base that is a power of two >= 4 as 10 = 22_4, 15 = 33_4 or 18 = 22_8.

3) Integers of the form: m * ((2^q)^s) - 1) /(2^q - 1) = (mm...m)_ 2^q with q >= 2, s >= 1 and 1 <= m <= 2^q - 1.

First few terms: 21, 42, 63, 73, 85, ... These numbers are Brazilian repdigits with 3 digits or more in a base that is a power of two >= 4 as 42 = 222_4, 73 = 111_8 or 85 = 1111_4. The repunits (4^n-1)/3, (8^n-1)/7, (16^n-1)/15, (32^n-1)/31 respectively in A002450 (when >= 5), A023001 (when >=9), A131865 (when >=17), A132469 (when >=33) are subsequences of this last family.

Remark: there exist numbers that are in this sequence for two reasons as 63 = 77_8 = 333_4. (End)

LINKS

Table of n, a(n) for n=1..57.

EXAMPLE

18 written in base 8 is 22. 8 is a power of two and 22 is a repdigit, so 18 is a term of the sequence.

PROG

(PARI) is(n) = my(b=4, d=0); while(b < n, d=digits(n, b); if(vecmin(d)==vecmax(d), return(1)); b=2*b); 0

CROSSREFS

Cf. A001220, A226542, A240719.

Sequence in context: A314581 A272902 A235033 * A282757 A199718 A155470

Adjacent sequences:  A327590 A327591 A327592 * A327594 A327595 A327596

KEYWORD

nonn,base,easy

AUTHOR

Felix Fröhlich, Sep 18 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 05:19 EST 2022. Contains 350481 sequences. (Running on oeis4.)