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.

Previous Showing 81-90 of 243 results. Next

A043027 Base-8 palindromes that start with 7.

Original entry on oeis.org

7, 63, 455, 463, 471, 479, 487, 495, 503, 511, 3591, 3663, 3735, 3807, 3879, 3951, 4023, 4095, 28679, 28743, 28807, 28871, 28935, 28999, 29063, 29127, 29199, 29263, 29327, 29391, 29455, 29519, 29583, 29647, 29719, 29783
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

A043167 Numbers k such that 2 and 5 occur juxtaposed in the base-8 representation of k but not of k-1.

Original entry on oeis.org

21, 42, 85, 106, 149, 168, 213, 234, 277, 298, 336, 362, 405, 426, 469, 490, 533, 554, 597, 618, 661, 680, 725, 746, 789, 810, 848, 874, 917, 938, 981, 1002, 1045, 1066, 1109, 1130, 1173, 1192, 1237, 1258, 1301, 1322, 1344
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Mathematica
    SequencePosition[Table[If[SequenceCount[IntegerDigits[n,8],{2,5}]>0 || SequenceCount[ IntegerDigits[ n,8],{5,2}]>0,1,0],{n,1500}],{0,1}][[;;,2]] (* Harvey P. Dale, Jun 02 2024 *)

A043421 Numbers having one 0 in base 8.

Original entry on oeis.org

8, 16, 24, 32, 40, 48, 56, 65, 66, 67, 68, 69, 70, 71, 72, 80, 88, 96, 104, 112, 120, 129, 130, 131, 132, 133, 134, 135, 136, 144, 152, 160, 168, 176, 184, 193, 194, 195, 196, 197, 198, 199, 200, 208, 216, 224, 232, 240, 248, 257
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Mathematica
    Select[Range[300],DigitCount[#,8,0]==1&] (* Harvey P. Dale, Jul 15 2014 *)

A043423 Numbers having three 0's in base 8.

Original entry on oeis.org

512, 1024, 1536, 2048, 2560, 3072, 3584, 4097, 4098, 4099, 4100, 4101, 4102, 4103, 4104, 4112, 4120, 4128, 4136, 4144, 4152, 4160, 4224, 4288, 4352, 4416, 4480, 4544, 4608, 5120, 5632, 6144, 6656, 7168, 7680, 8193, 8194
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Maple
    g:= proc(x) local j; seq(8*x+j,j=1..7) end proc:
    h:= x -> 8*x:
    B[1,0]:= {$1..7}:
    for d from 2 to 5 do
      B[d,0]:= map(g, B[d-1,0]);
      for i from 1 to min(d-2,3) do
        B[d,i]:= map(g, B[d-1,i]) union map(h, B[d-1,i-1])
      od;
      if d <= 4 then B[d,d-1]:= map(h, B[d-1,d-2]) fi;
    od:
    sort(convert(B[4,3] union B[5,3], list)); # Robert Israel, Jan 15 2019
  • Mathematica
    Select[Range[10000],DigitCount[#,8,0]==3&] (* Harvey P. Dale, Nov 25 2018 *)

A043426 Numbers having two 1's in base 8.

Original entry on oeis.org

9, 65, 72, 74, 75, 76, 77, 78, 79, 81, 89, 97, 105, 113, 121, 137, 201, 265, 329, 393, 457, 513, 520, 522, 523, 524, 525, 526, 527, 529, 537, 545, 553, 561, 569, 576, 578, 579, 580, 581, 582, 583, 592, 594, 595, 596, 597, 598, 599
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Mathematica
    Select[Range[600],DigitCount[#,8,1]==2&] (* Harvey P. Dale, Feb 26 2020 *)

A043432 Numbers having four 2's in base 8.

Original entry on oeis.org

1170, 5266, 8338, 8850, 9234, 9298, 9346, 9354, 9360, 9361, 9363, 9364, 9365, 9366, 9367, 9370, 9378, 9386, 9394, 9402, 9426, 9490, 9554, 9618, 9682, 9874, 10386, 10898, 11410, 11922, 13458, 17554, 21650, 25746, 29842
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Maple
    F:= proc(d) local r, L,M,S, Res; # to get all terms < 8^d
       Res:= NULL;
       for S in combinat:-choose(d,d-4) do
         L:= Vector(d,2);
         for r from 0 to 7^(d-4)-1 do
           M:= subs(2=7,convert(r+7^(d-4),base,7)[1..d-4]);
           L[S]:= Vector(M);
           Res:= Res, add(8^(i-1)*L[i],i=1..d);
         od
       od;
       sort([Res]);
    end proc:
    F(6); # Robert Israel, Mar 20 2018
  • Mathematica
    Select[Range[0, 30000], DigitCount[#, 8, 2]==4 &] (* Vincenzo Librandi, Mar 21 2018 *)
  • PARI
    isok(n) = #select(x->(x==2), digits(n, 8)) == 4; \\ Michel Marcus, Mar 21 2018

A043445 Numbers having exactly one 6 in base 8.

Original entry on oeis.org

6, 14, 22, 30, 38, 46, 48, 49, 50, 51, 52, 53, 55, 62, 70, 78, 86, 94, 102, 110, 112, 113, 114, 115, 116, 117, 119, 126, 134, 142, 150, 158, 166, 174, 176, 177, 178, 179, 180, 181, 183, 190, 198, 206, 214, 222, 230, 238, 240, 241, 242, 243, 244, 245, 247, 254, 262
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    filter:= proc(n) numboccur(6,convert(n,base,8)) = 1 end proc:
    select(filter, [$1..1000]); # Robert Israel, Nov 27 2024
  • Mathematica
    Select[Range[500], DigitCount[#, 8, 6] == 1 &] (* Paolo Xausa, Nov 26 2024 *)

A043446 Numbers having two 6's in base 8.

Original entry on oeis.org

54, 118, 182, 246, 310, 374, 390, 398, 406, 414, 422, 430, 432, 433, 434, 435, 436, 437, 439, 446, 502, 566, 630, 694, 758, 822, 886, 902, 910, 918, 926, 934, 942, 944, 945, 946, 947, 948, 949, 951, 958, 1014, 1078, 1142, 1206
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Mathematica
    Select[Range[1300],DigitCount[#,8,6]==2&] (* Harvey P. Dale, May 16 2012 *)

A043447 Numbers having three 6's in base 8.

Original entry on oeis.org

438, 950, 1462, 1974, 2486, 2998, 3126, 3190, 3254, 3318, 3382, 3446, 3462, 3470, 3478, 3486, 3494, 3502, 3504, 3505, 3506, 3507, 3508, 3509, 3511, 3518, 3574, 4022, 4534, 5046, 5558, 6070, 6582, 7094, 7222, 7286, 7350
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Maple
    filter:= proc(n) numboccur(6, convert(n, base, 8)) = 3 end proc:select(filter, [$1..10000]); # Robert Israel, Nov 27 2024

A043452 Numbers having four 7's in base 8.

Original entry on oeis.org

4095, 8191, 12287, 16383, 20479, 24575, 28671, 29183, 29695, 30207, 30719, 31231, 31743, 32255, 32319, 32383, 32447, 32511, 32575, 32639, 32703, 32711, 32719, 32727, 32735, 32743, 32751, 32759, 32760, 32761, 32762, 32763, 32764, 32765, 32766, 36863, 40959, 45055
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007094.

Programs

  • Maple
    G:= proc(x,c,d) local L,m1,m2;
         L:= convert(x,base,7);
         m2:= nops(c);
         m1:= min(nops(L),m2);
         8^d-1 + add((L[i]-7)*8^(c[i]-1),i=1..m1) - 7*add(8^(c[i]-1),i = m1+1..m2)
    end proc:
    sort([seq(seq(G(x,c,6), x = 0 .. 7^2-1), c=combinat:-choose(6,2))]); # Robert Israel, Sep 24 2017
  • Mathematica
    Select[Range[0, 10^5], DigitCount[#, 8, 7]==4 &] (* Vincenzo Librandi, Sep 25 2017 *)
  • PARI
    isok(n) = #select(x->(x==7), digits(n, 8)) == 4; \\ Michel Marcus, Sep 25 2017
Previous Showing 81-90 of 243 results. Next