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.

A031998 Duplicate of A023759.

Original entry on oeis.org

1, 2, 3, 4, 6, 7, 8, 9, 12, 13, 18, 21, 22, 24, 25, 26, 27, 36, 39, 40, 54, 63, 66, 67, 72, 75, 76, 78, 79, 80, 81, 108, 117, 120, 121, 162, 189, 198, 201, 202, 216, 225, 228, 229, 234, 237, 238, 240, 241, 242, 243, 324, 351, 360, 363
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A023759.

A023753 Plaindromes: numbers whose digits in base 12 are in nondecreasing order.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 39, 40, 41, 42, 43, 44, 45, 46, 47, 52, 53, 54, 55, 56, 57, 58, 59, 65, 66, 67, 68, 69, 70, 71, 78, 79, 80, 81, 82, 83, 91, 92, 93, 94, 95, 104
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A000225, A023745, ..., A023757 (nondecreasing digits in base 2, 3, ..., 16).
Cf. A023758, A023759, ..., A023771 (nonincreasing digits in base 2, 3, ..., 16).

Programs

  • Mathematica
    Select[Range[0,104],LessEqual@@IntegerDigits[#,12]&] (* Ray Chandler, Jan 06 2014 *)
    Select[Range[0,120],Min[Differences[IntegerDigits[#,12]]]>-1&] (* Harvey P. Dale, Jul 10 2023 *)
  • PARI
    is(n)=vecsort(n=digits(n,12))==n
    for(n=0,2,forvec(d=vector(n,i,[1,11]),print1(fromdigits(d,12)","),1)) \\ M. F. Hasler, May 05 2020
    
  • Python
    from itertools import count, islice, combinations_with_replacement
    def A023753_gen(): # generator of terms
        yield 0
        yield from (int(''.join(c),12) for l in count(1) for c in combinations_with_replacement('123456789ab',l))
    A023753_list = list(islice(A023753_gen(),30)) # Chai Wah Wu, Apr 08 2025

Extensions

Change offset to 1 by Ray Chandler, Jan 06 2014

A032341 Duplicate of A023761.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 10, 11, 12, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 30, 31, 50, 55, 56, 60, 61, 62, 75, 80, 81, 85, 86, 87, 90, 91, 92, 93, 100, 105, 106, 110, 111, 112
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A000225, A023745, ..., A023757 (nondecreasing digits in base 2, 3, ..., 16).
Cf. A023758, A023759, ..., A023771 (nonincreasing digits in base 2, 3, ..., 16).

A272615 Numbers with digits in descending numerical order in base 2, 3 and 4 expansions.

Original entry on oeis.org

0, 1, 2, 3, 4, 8, 12, 63, 240
Offset: 1

Views

Author

Robin Powell, May 03 2016

Keywords

Comments

a(10), if it exists, has more than 1000 decimal digits. Conjecture: there are no more terms in this sequence. - Charles R Greathouse IV, May 03 2016

Examples

			12 is 1100 in base 2, 110 in base 3 and 30 in base 4; in each representation every digit is smaller than or equal to the one proceeding so 12 is a term.
Similarly, 63 is 111111 in base 2, 2100 in base 3 and 333 in base 4 so it is also a term.
		

Crossrefs

Intersection of A023758, A023759, and A023760.

Programs

  • PARI
    dec(n,b)=my(v=digits(n,b)); v==vecsort(v,,4)
    is(n)=dec(n,2) && dec(n,3) && dec(n,4) \\ Charles R Greathouse IV, May 03 2016
    
  • PARI
    dec(n,b)=my(v=digits(n,b)); v==vecsort(v,,4)
    list(lim)=my(v=List([0]),t); for(i=1,logint(lim\1+1,4), t=4^i-1; while(t<=lim, if(dec(t,3), listput(v,t)); t*=4); t=2*4^i-2; while(t<=lim, if(dec(t,3), listput(v,t)); t*=4)); Set(v) \\ Charles R Greathouse IV, May 03 2016

A032342 Duplicate of A023762.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 12, 13, 14, 18, 19, 20, 21, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 42, 43, 72, 78, 79, 84, 85, 86, 108, 114, 115, 120, 121, 122, 126, 127, 128, 129
Offset: 1

Views

Author

Keywords

Comments

Was: Nonincreasing base 6 digits.

Crossrefs

Cf. A000225, A023745, ..., A023757 (nondecreasing digits in base 2, 3, ..., 16).
Cf. A023758, A023759, ..., A023771 (nonincreasing digits in base 2, 3, ..., 16).
Showing 1-5 of 5 results.