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.

A235498 For k in {2,3,...,9} define a sequence as follows: a(0)=0; for n>=0, a(n+1)=a(n)+1, unless a(n) ends in k, in which case a(n+1) is obtained by replacing the last digit of a(n) with the digit(s) of k^2. This is k(2).

Original entry on oeis.org

0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 34, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 49, 50, 51, 52, 54, 55, 56, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67, 68, 69, 70, 71, 72, 74
Offset: 0

Views

Author

Vincenzo Librandi, Feb 06 2014

Keywords

Comments

An alternative and simpler definition: numbers not ending in 3. - Charles R Greathouse IV, Feb 07 2014

Crossrefs

Subsequence of A052405.

Formula

G.f.: (x^9 +x^8 +x^7 +x^6 +x^5 +x^4 +2*x^3 +x^2 +x) / (x^10 -x^9 -x +1). - Alois P. Heinz, Feb 07 2014

Extensions

Definition by N. J. A. Sloane, Feb 07 2014