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.

A383202 Number of positive integers with n digits in which adjacent digits differ by at most 7.

Original entry on oeis.org

9, 86, 813, 7693, 72786, 688661, 6515721, 61648078, 583279341, 5518660133, 52214449434, 494023669525, 4674173312097, 44224391459894, 418426247682381, 3958913146568317, 37457003208767394, 354397037125653845, 3353104871295311673, 31725187008033469918
Offset: 1

Views

Author

Edwin Hermann, Apr 19 2025

Keywords

Crossrefs

Programs

  • Mathematica
    Rest[CoefficientList[Series[-x*(6*x^2-5*x-9)/(6*x^3-5*x^2-9*x+1),{x,0,20}],x]] (* or *) LinearRecurrence[{9,5,-6},{9,86,813},20] (* James C. McMahon, May 07 2025 *)

Formula

G.f.: -x*(6*x^2-5*x-9)/(6*x^3-5*x^2-9*x+1). - Alois P. Heinz, Apr 26 2025

Extensions

a(11)-a(20) from Alois P. Heinz, Apr 26 2025