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

A030108 Base 9 reversal of n (written in base 10).

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 1, 10, 19, 28, 37, 46, 55, 64, 73, 2, 11, 20, 29, 38, 47, 56, 65, 74, 3, 12, 21, 30, 39, 48, 57, 66, 75, 4, 13, 22, 31, 40, 49, 58, 67, 76, 5, 14, 23, 32, 41, 50, 59, 68, 77, 6, 15, 24, 33, 42, 51, 60, 69, 78, 7, 16, 25, 34, 43, 52, 61, 70, 79, 8, 17, 26, 35, 44
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Table[FromDigits[Reverse[IntegerDigits[n,9]],9],{n,0,80}] (* Harvey P. Dale, Jun 01 2017 *)
  • PARI
    apply( {A030108(n,b=9)=fromdigits(Vecrev(digits(n,b)),b)}, [0..99])  \\ M. F. Hasler, May 21 2021, replacing earlier code from M. F. Hasler, Nov 04 2011

A319747 a(n) = A319726(n) + A319657(n).

Original entry on oeis.org

0, 2, 4, 6, 8, 10, 12, 14, 16, 10, 20, 30, 40, 50, 60, 70, 80, 90, 20, 30, 40, 50, 60, 70, 80, 90, 100, 30, 40, 50, 60, 70, 80, 90, 100, 110, 40, 50, 60, 70, 80, 90, 100, 110, 120, 50, 60, 70, 80, 90, 100, 110, 120, 130, 60, 70, 80, 90, 100, 110, 120, 130, 140, 70
Offset: 0

Views

Author

Seiichi Manyama, Sep 27 2018

Keywords

Comments

This sequence is different from A055958. For example, A055958(82) = 164 and a(82) = 100.

Crossrefs

Base b: A319785 (b=2), this sequence (b=9), A052008 (b=10).

Programs

  • Mathematica
    Table[FromDigits[Reverse[#], 9] + FromDigits[#, 9] & [Sort[IntegerDigits[n, 9]]], {n, 0, 100}] (* Paolo Xausa, Aug 08 2024 *)
  • PARI
    a(n) = my(dn=digits(n, 9)); fromdigits(vecsort(dn), 9) + fromdigits(vecsort(dn,,4), 9); \\ Michel Marcus, Sep 28 2018
Showing 1-2 of 2 results.