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 A281859 #20 May 10 2018 17:03:18 %S A281859 407,340067,334000667,333400006667,333340000066667,333334000000666667, %T A281859 333333400000006666667,333333340000000066666667, %U A281859 333333334000000000666666667,333333333400000000006666666667,333333333340000000000066666666667,333333333334000000000000666666666667 %N A281859 Curious identities based on the Armstrong number 407 = A005188(13). %C A281859 See a comment in A093137. %H A281859 Colin Barker, <a href="/A281859/b281859.txt">Table of n, a(n) for n = 1..333</a> %H A281859 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (1111,-112110,1111000,-1000000). %F A281859 From _Colin Barker_, Feb 08 2017: (Start) %F A281859 G.f.: x*(407 - 112110*x + 1815000*x^2 - 2000000*x^3) / ((1 - x)*(1 - 10*x)*(1 - 100*x)*(1 - 1000*x)). %F A281859 a(n) = (1 + 2^(1+n)*5^n + 2^(1+2*n)*25^n + 1000^n) / 3. %F A281859 a(n) = 1111*a(n-1) - 112110*a(n-2) + 1111000*a(n-3) - 1000000*a(n-4) for n>4. (End) %e A281859 Curious cubic identities: 407 = 4^3 + 0^3 + 7^3, 340067 = 34^3 + (00)^3 + 67^3, 334000677 = 334^3 + (000)^3 + 677^3, ... %t A281859 Table[FromDigits@ Join[ReplacePart[ConstantArray[3, n], -1 -> 4], ConstantArray[0, n], ReplacePart[ConstantArray[6, n], -1 -> 7]], {n, 12}] (* _Michael De Vlieger_, Feb 08 2017 *) %t A281859 LinearRecurrence[{1111,-112110,1111000,-1000000},{407,340067,334000667,333400006667},20] (* _Harvey P. Dale_, May 10 2018 *) %o A281859 (PARI) Vec(x*(407 - 112110*x + 1815000*x^2 - 2000000*x^3) / ((1 - x)*(1 - 10*x)*(1 - 100*x)*(1 - 1000*x)) + O(x^30)) \\ _Colin Barker_, Feb 08 2017 %K A281859 nonn,easy %O A281859 1,1 %A A281859 _Wolfdieter Lang_, Feb 08 2017