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

A043617 Numbers whose base-7 representation has exactly 2 runs.

Original entry on oeis.org

7, 9, 10, 11, 12, 13, 14, 15, 17, 18, 19, 20, 21, 22, 23, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 38, 39, 41, 42, 43, 44, 45, 46, 47, 49, 56, 58, 59, 60, 61, 62, 65, 73, 81, 89, 97, 98, 106, 112, 113, 115, 116, 117, 118, 122, 130
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007093.
Subsequence of A043696.

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

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 8, 16, 24, 32, 40, 48, 49, 57, 65, 73, 81, 89, 97, 98, 106, 114, 122, 130, 138, 146, 147, 155, 163, 171, 179, 187, 195, 196, 204, 212, 220, 228, 236, 244, 245, 253, 261, 269, 277, 285, 293, 294, 302, 310, 318, 326, 334, 342, 343, 400, 457
Offset: 0

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Crossrefs

A048318 Numbers whose base-7 expansions, read from left to right, have run lengths that strictly decrease.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 8, 16, 24, 32, 40, 48, 56, 57, 58, 59, 60, 61, 62, 112, 113, 114, 115, 116, 117, 118, 168, 169, 170, 171, 172, 173, 174, 224, 225, 226, 227, 228, 229, 230, 280, 281, 282, 283, 284, 285, 286, 336, 337, 338, 339, 340, 341, 342, 399, 400, 401
Offset: 0

Views

Author

Patrick De Geest, Feb 15 1999

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Range[0,500],Max[Differences[Length/@Split[IntegerDigits[ #, 7]]]]<0&] (* Harvey P. Dale, Apr 27 2018 *)
Showing 1-4 of 4 results.