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.

A383199 Number of positive integers with n digits in which adjacent digits differ by at most 4.

This page as a plain text file.
%I A383199 #15 May 02 2025 10:33:14
%S A383199 9,65,475,3465,25282,184463,1345887,9819916,71648478,522764591,
%T A383199 3814216651,27829445433,203050351876,1481504383412,10809413614854,
%U A383199 78868091114176,575440631436879,4198553757680021,30633661742154286,223510591001999469,1630787227154056312
%N A383199 Number of positive integers with n digits in which adjacent digits differ by at most 4.
%H A383199 <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (7,3,-6,-1,1).
%F A383199 G.f.: -x*(x^4-x^3-7*x^2+2*x+9)/(x^5-x^4-6*x^3+3*x^2+7*x-1). - _Alois P. Heinz_, Apr 23 2025
%t A383199 Rest[CoefficientList[Series[-x*(x^4-x^3-7*x^2+2*x+9)/(x^5-x^4-6*x^3+3*x^2+7*x-1),{x,0,21}],x]] (* or *) LinearRecurrence[{7,3,-6,-1,1},{9,65,475,3465,25282},21] (* _James C. McMahon_, May 01 2025 *)
%Y A383199 Cf. A235163, A383197, A383198, A383200, A383201, A383202.
%K A383199 nonn,base,easy
%O A383199 1,1
%A A383199 _Edwin Hermann_, Apr 19 2025
%E A383199 More terms from _Alois P. Heinz_, Apr 23 2025