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.

Showing 1-9 of 9 results.

A216192 a(n) = Smallest m >= 5 containing no twos when represented in any base from 3 through n.

Original entry on oeis.org

9, 12, 28, 28, 28, 28, 28, 31
Offset: 3

Views

Author

Nathan Fox, Mar 12 2013

Keywords

Comments

If a(11) exists, it contains over 3000 digits.
No more terms < 10^154400. Most likely there are no more terms. - Chai Wah Wu, Mar 17 2016

Examples

			In base 3, 5=12, 6=20, 7=21, 8=22, 9=100.  The first representation containing no twos is that of 9, so a(3)=9.
		

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[5, 10^3], Total@ Map[Function[k, DigitCount[#, k, 2]], Range[3, n]] == 0 &], {n, 3, 20}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 09 2016, Version 10.2 *)

A270037 a(n) = Smallest m >= 3 containing no zeros when represented in any base from 3 through n.

Original entry on oeis.org

4, 5, 7, 7, 13, 13, 13, 13, 13, 13, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157, 157
Offset: 3

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.
Every known term in this sequence is in A069575, and every term in A069575 is in this sequence.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[3, 10^3], Total@ Map[Function[k, DigitCount[#, k, 0]], Range[3, n]] == 0 &], {n, 3, 80}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)
  • PARI
    isok(m, n) = {for (b=3, n, if (! vecmin(digits(m, b)), return (0));); 1;}
    a(n) = {my(m = 3); while (! isok(m,n), m++); m;} \\ Michel Marcus, Mar 10 2016

A270028 a(n) is the smallest b >= 3 for which the base-b representation of n contains at least one 1 (or 0 if no such base exists).

Original entry on oeis.org

3, 0, 3, 3, 3, 4, 3, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 3, 3, 4, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 5, 3, 3, 3, 6, 3, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 3, 3, 4, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3
Offset: 1

Views

Author

Nathan Fox, Mar 08 2016

Keywords

Comments

If we drop the b >= 3 requirement, then this sequence becomes A007395 (the constant 2 sequence).
a(n) > 0 for n >= 3 since the base-(n-1) representation of n is 11.
a(n)=3 if and only if n is in A081606.
The only perfect k-th powers (k >= 2) that can appear in this sequence are 2^k with k a prime number.
The first n for which a(n)=7 is 560.
The first n for which a(n)=8 is 870899850.
The first n for which a(n)=10 is 871017138.
The first n for which a(n)=11 is 65473886952.
The first n for which a(n)=12 is 65473886954.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[3, 10], DigitCount[n, #, 1] > 0 &], {n, 3, 120}] (* Michael De Vlieger, Mar 10 2016, Version 10 *)
  • PARI
    a(n) = if (n==2, 0, my(b=3); while(!vecsearch(Set(digits(n, b)), 1), b++); b); \\ Michel Marcus, Mar 10 2016

A270045 Smallest m >= 19 containing no nines when represented in any base from 10 through n.

Original entry on oeis.org

20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 30, 32, 32, 34, 34, 36, 36, 38, 38, 40, 40, 44, 44, 44, 44, 46, 46, 50, 50, 50, 50, 52, 52, 56, 56, 56, 56, 58, 58, 62, 62, 62, 62, 68, 68, 68, 68, 68, 68, 70, 70, 76, 76, 76, 76, 76, 76, 80, 80, 80, 80, 82, 82, 88, 88, 88, 88, 88, 88, 840
Offset: 10

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[19, 10^3], Total@ Map[Function[k, DigitCount[#, k, 9]], Range[10, n]] == 0 &], {n, 10, 79}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)

A270040 a(n) = Smallest m >= 9 containing no fours when represented in any base from 5 through n.

Original entry on oeis.org

10, 11, 12, 13, 15, 15, 17, 17, 66, 75, 75, 86, 86, 90, 138, 138, 138, 138, 138, 138, 138, 138, 138, 182, 182, 182, 182, 182, 182, 182, 182, 182, 185, 781817578165, 781817578165, 7826560751018861596150680
Offset: 5

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.
These numbers are not very Foury, at least not initially. (See A268236.)

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[9, 10^3], Total@ Map[Function[k, DigitCount[#, k, 4]], Range[5, n]] == 0 &], {n, 5, 60}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)

A270041 a(n) = Smallest m >= 11 containing no fives when represented in any base from 6 through n.

Original entry on oeis.org

12, 13, 14, 15, 16, 18, 18, 20, 20, 22, 22, 24, 24, 28, 28, 28, 28, 144, 144, 160, 160, 162, 216, 216, 216, 216, 216, 216, 216, 216, 216, 223, 228, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 316, 487, 487
Offset: 6

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[11, 10^3], Total@ Map[Function[k, DigitCount[#, k, 5]], Range[6, n]] == 0 &], {n, 6, 60}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)

A270042 a(n) = Smallest m >= 13 containing no sixes when represented in any base from 7 through n.

Original entry on oeis.org

14, 15, 16, 17, 18, 19, 21, 21, 23, 23, 25, 25, 29, 29, 29, 29, 31, 31, 35, 35, 35, 35, 37, 37, 228, 228, 232, 271, 271, 271, 271, 271, 273, 343, 343, 343, 343, 343, 343, 343, 343, 343, 343, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 451, 455, 472, 472, 599
Offset: 7

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[13, 10^3], Total@ Map[Function[k, DigitCount[#, k, 6]], Range[7, n]] == 0 &], {n, 7, 68}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)

A270043 a(n) = Smallest m >= 15 containing no sevens when represented in any base from 8 through n.

Original entry on oeis.org

16, 17, 18, 19, 20, 21, 22, 24, 24, 26, 26, 28, 28, 30, 30, 32, 32, 36, 36, 36, 36, 38, 38, 42, 42, 42, 42, 44, 44, 48, 48, 48, 48, 50, 50, 54, 54, 54, 54, 386, 386, 396, 400, 426, 426, 426, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 515, 528
Offset: 8

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[15, 10^3], Total@ Map[Function[k, DigitCount[#, k, 7]], Range[8, n]] == 0 &], {n, 8, 65}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)

A270044 a(n) = Smallest m >= 17 containing no eights when represented in any base from 9 through n.

Original entry on oeis.org

18, 19, 20, 21, 22, 23, 24, 25, 27, 27, 29, 29, 31, 31, 33, 33, 37, 37, 37, 37, 39, 39, 43, 43, 43, 43, 45, 45, 49, 49, 49, 49, 51, 51, 55, 55, 55, 55, 57, 57, 61, 61, 61, 61, 67, 67, 67, 67, 67, 67, 69, 69, 549, 590, 590, 590, 590, 594, 604, 630
Offset: 9

Views

Author

Nathan Fox, Mar 09 2016

Keywords

Comments

It remains to be determined if the sequence is finite.

Crossrefs

Programs

  • Mathematica
    Table[SelectFirst[Range[17, 10^3], Total@ Map[Function[k, DigitCount[#, k, 8]], Range[9, n]] == 0 &], {n, 9, 68}] /. n_ /; MissingQ@ n -> Nothing (* Michael De Vlieger, Mar 10 2016, Version 10.2 *)
Showing 1-9 of 9 results.