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

A043703 Numbers whose base-14 representation has an even number of runs.

Original entry on oeis.org

14, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 76, 77, 78
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Range[80],EvenQ[Length[Split[IntegerDigits[#,14]]]]&] (* Harvey P. Dale, Aug 30 2020 *)
  • PARI
    is(n) = qstreaks(n)%2 == 0
    qstreaks(n, {b = 14}) = {my(d = digits(n, b)); sum(i = 2, #d, d[i]!=d[i-1])+1} \\ David A. Corneth, Aug 31 2020

A043675 Numbers whose base-16 representation has exactly 2 runs.

Original entry on oeis.org

16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79
Offset: 1

Views

Author

Keywords

Crossrefs

Subsequence of A043705.

Programs

  • Maple
    N:= 3; # get all results <= 16^N
    sort([seq(seq(seq(seq((a*(16^n-16^k)+b*(16^k-1))/15, k=1..n-1),n=2..N),
    b={$0..15} minus {a}),a=1..15)]); # Robert Israel, Dec 11 2015

A048313 Numbers whose base-16 expansions, read from left to right, have run lengths that strictly increase.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255, 256, 273, 290, 307, 324, 341, 358, 375, 392, 409, 426, 443, 460, 477, 494, 511, 512, 529, 546, 563, 580, 597, 614, 631, 648, 665, 682, 699
Offset: 0

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Crossrefs

A048327 Reading base-16 expansion from left to right, run lengths strictly decrease.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555
Offset: 0

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Crossrefs

Showing 1-4 of 4 results.