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.
%I A367249 #5 Nov 12 2023 13:31:47 %S A367249 0,3,79,1323,18175,223323,2555119,27828363,292407775,2990349243, %T A367249 29943991759,294872615403,2864776362175,27525734996763, %U A367249 262061152909999,2475899571994443,23240879960425375,216963121865909883,2015960236625789839,18656492902684557483,172056837889322101375 %N A367249 a(n) is the number of n-digit numbers whose difference between the largest and smallest digits is equal to 8. %C A367249 a(n) is the number of n-digit numbers in A366965. %H A367249 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (24,-191,504). %F A367249 a(n) = 17*9^(n-1) - 31*8^(n-1) + 2*7^n. %F A367249 a(n) = 24*a(n-1) - 191*a(n-2) + 504*a(n-3) for n > 3. %F A367249 O.g.f.: x^2*(3 + 7*x)/((1 - 7*x)*(1 - 8*x)*(1 - 9*x)). %F A367249 E.g.f.: (136*exp(9*x) - 279*exp(8*x) + 144*exp(7*x) - 1)/72. %t A367249 LinearRecurrence[{24,-191,504},{0,3,79},21] %Y A367249 Cf. A366965. %Y A367249 Cf. A000420, A001018, A001019. %Y A367249 Cf. A367243, A367244, A367245, A367246, A367247, A367248, A367250. %K A367249 nonn,base,easy %O A367249 1,2 %A A367249 _Stefano Spezia_, Nov 11 2023