cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A327593 Numbers m where an integer b that is a power of two > 2 with 1 < b < m exists such that m is a base-b repdigit.

Original entry on oeis.org

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
Offset: 1

Views

Author

Felix Fröhlich, Sep 18 2019

Keywords

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)

Examples

			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.
		

Crossrefs

Programs

  • 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