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-5 of 5 results.

A146025 Numbers that can be written in bases 2, 3, 4, and 5 using only the digits 0 and 1.

Original entry on oeis.org

0, 1, 82000
Offset: 1

Views

Author

Daniel Mondot, Oct 26 2008

Keywords

Comments

Originally checked to 2^65520 (or about 3*10^19723) on Nov 07 2008. - Daniel Mondot, Jan 17 2016
Conjectured to be complete. a(4), if it exists, is greater than 10^15. - Charles R Greathouse IV, Apr 06 2012
Checked to 3125 (5^5) base-5 digits in just under 1/2 hour using a minor modification of the PARI program at A230360. Interestingly, with 5 replaced by 9 and the digits 2 and 3 permitted, it appears the complete set is--somewhat coincidental with this--{0, 1, 2, 3, 8281, 8282, 8283}, see A146026. - James G. Merickel, Dec 01 2013
Checked to 11 million decimal digits in 1 week using an algorithm that, upon finding that the current guess has non-{0,1} digits in a particular base, increases the guess to only have {0,1} digits in that base. C code in links. - Alex P. Klinkhamer, Aug 29 2015
It is a plausible conjecture that there are no more terms, but this has not been proved. - N. J. A. Sloane, Feb 06 2016

Examples

			82000 = 10100000001010000 (2) = 11011111001 (3) = 110001100 (4) = 10111000 (5).
		

Crossrefs

Intersection of A005836, A000695, and A033042.
Cf. A258981 (bases 2,3,4), A258107 (bases 2..n).

Programs

  • Mathematica
    f[n_] := Total[Total@ Drop[RotateRight[DigitCount[n, #]], 2] & /@ Range[3, 5]]; Select[Range[0, 100000], f@ # == 0 &] (* Michael De Vlieger, Aug 29 2015 *)
  • PARI
    is(n)=vecmax(digits(n,5))<2 && vecmax(digits(n,4))<2 && vecmax(digits(n,3))<2 \\ Charles R Greathouse IV, Aug 31 2015

Extensions

Edited by Charles R Greathouse IV, Nov 01 2009
Search limit extended to astronomical odds by James G. Merickel, Dec 03 2013
Search limit increased again with example code by Alex P. Klinkhamer, Aug 29 2015
Removed keywords "fini" and "full", since it is only a conjecture that there are no further terms. - N. J. A. Sloane, Feb 06 2016

A146026 Numbers that can be written from base 2 to base 9 using only the digits 0 to 3.

Original entry on oeis.org

0, 1, 2, 3, 8281, 8282, 8283
Offset: 1

Views

Author

Daniel Mondot, Oct 27 2008

Keywords

Comments

Conjectured to be complete.
Checked up to 2^16384 (≈ 1.2*10^4932) on Oct 31 2008. - Daniel Mondot, Jan 17 2016
Checked up to 2^65520 (≈ 3*10^19723) on Nov 13 2008. - Daniel Mondot, Jan 17 2016
It is a plausible conjecture that there are no more terms, but this has not been proved. - N. J. A. Sloane, Nov 17 2017

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 10^5], Function[n, Times @@ Boole@ Map[Max@ IntegerDigits[n, #] <= 3 &, Range[2, 9]] > 0]] (* Michael De Vlieger, Aug 15 2016 *)

A146027 Numbers that can be written from base 2 to base 10 using only the digits 0 to 4.

Original entry on oeis.org

0, 1, 2, 3, 4, 10, 100, 140004, 140304, 140312, 1131032, 1131033, 1131034, 1131040
Offset: 1

Views

Author

Daniel Mondot, Oct 26 2008

Keywords

Comments

Conjectured to be complete.
Checked on Oct 31 2008 up to 2^16384 (or 1.2*10^4932). - Daniel Mondot, Jan 17 2016
No more entries < 10^78. - Robert Israel, Aug 31 2015
It is a plausible conjecture that there are no more terms, but this has not been proved. - N. J. A. Sloane, Nov 17 2017

Crossrefs

Programs

  • Maple
    imax:= 20: # to consider numbers < 6^imax
    L:= Matrix(5,imax):
    Delta:= proc(L,b)
      local i,j,m,Lloc;
      if max(L) <= 4 then return 0 fi;
      Lloc:= L;
      m:= 0;
      for j from 1 to imax while max(Lloc[j..imax]) > 4 do
              m:= m + b^(j-1)*(b-Lloc[j]);
              if j < imax then Lloc[j+1]:= Lloc[j+1]+1 fi
      od;
      m
    end proc:
    n:= 0: count:= 1: A[1]:= 0:
    isdone:= false;
    while max(L[..,imax]) < 5 and not isdone do
      n:= n+1;
      L[..,1]:= L[..,1]+<1,1,1,1,1>;
      m:= max(seq(Delta(L[b-5,..],b),b=6..10));
      while m > 0 and not isdone do
        n:= n+m;
        for b from 6 to 10 do
           Lb:= convert(n,base,b);
           if nops(Lb) > imax then isdone:= true; break fi;
           L[b-5,1..nops(Lb)]:= Vector[row](Lb);
        od:
        m:= max(seq(Delta(L[b-5,..],b),b=6..10));
      od;
      if not isdone then
        count:= count+1;
        A[count]:= n;
      fi
    od:
    seq(A[i],i=1..count); # Robert Israel, Aug 31 2015
  • Mathematica
    f[n_] := Total[Total@ Drop[RotateRight[DigitCount[n, #]], 5] & /@ Range[6, 10]]; Select[Range[0, 1200000], f@ # == 0 &] (* Aug 29 2015, or *)
    Select[Range[0, 1200000], Function[n, Times @@ Boole@ Map[Max@ IntegerDigits[n, #] <= 4 &, Range[2, 10]] > 0]] (* Michael De Vlieger, Aug 15 2016 *)
  • PARI
    isok(n) = if (n, for (b=6, 10, if (vecmax(digits(n,b))>4, return(0)))); 1; \\ Michel Marcus, Aug 30 2015

Extensions

Edited by Charles R Greathouse IV, Nov 01 2009

A146028 Numbers that can be written from base 2 to base 15 using only the digits 0 to 7.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 15, 16, 174731235562130, 174731235562131, 174731235562132, 174731235562143, 174731235562147, 174731235562170, 174731235562171, 174731235564710, 174731235564711, 174731236371006, 25354527232277132536350, 25354527232277132536351
Offset: 1

Views

Author

Daniel Mondot, Nov 02 2008, Nov 06 2008

Keywords

Comments

It is a plausible conjecture that there are no more terms, but this has not been proved. - N. J. A. Sloane, Nov 17 2017

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 10^5], Function[n, Times @@ Boole@ Map[Max@ IntegerDigits[n, #] <= 7 &, Range[2, 15]] > 0]] (* Michael De Vlieger, Aug 15 2016 *)

A146029 Numbers that can be written from base 2 to base 17 using only the digits 0 to 8 (conjectured to be complete).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 17, 18
Offset: 1

Views

Author

Daniel Mondot, Nov 02 2008

Keywords

Comments

It is a plausible conjecture that there are no more terms, but this has not been proved. - N. J. A. Sloane, Nov 17 2017

Crossrefs

Programs

  • Mathematica
    Select[Range[0, 10^5], Function[n, Times @@ Boole@ Map[Max@ IntegerDigits[n, #] <= 8 &, Range[2, 17]] > 0]] (* Michael De Vlieger, Aug 15 2016 *)
Showing 1-5 of 5 results.