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 A132079 #32 Jul 04 2025 18:38:54 %S A132079 2,4,14,64,314,1564,7814,39064,195314,976564,4882814,24414064, %T A132079 122070314,610351564,3051757814,15258789064,76293945314,381469726564, %U A132079 1907348632814,9536743164064,47683715820314 %N A132079 a(n) = (5^n + 3)/2. %C A132079 (5^n + 3)/2 is always divisible by 2 and the next value can be generated by appending 4 at the ones place and adding the rest of the number with the respective power of 5. For example, 314 can be generated after 64 by just writing 4 at the ones place and adding 5^2 to 6 to get 31 and appending 31 to 4 to get 314. %H A132079 Vincenzo Librandi, <a href="/A132079/b132079.txt">Table of n, a(n) for n = 0..200</a> %H A132079 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (6,-5). %F A132079 From _Elmo R. Oliveira_, Dec 21 2023: (Start) %F A132079 a(n) = 2*A047850(n). %F A132079 a(n) = 5*a(n-1) - 6 for n>0. %F A132079 a(n) = 6*a(n-1) - 5*a(n-2) for n>1. %F A132079 G.f.: (2-8*x)/((1-x)*(1-5*x)). %F A132079 E.g.f.: exp(x)*(exp(4*x) + 3)/2. (End) %t A132079 Table[(5^n + 3)/2, {n, 0, 24}] (* _Alonso del Arte_, May 02 2011 *) %o A132079 (Magma) [(5^n+3)/2: n in [0..30]]; // _Vincenzo Librandi_, May 02 2011 %o A132079 (PARI) a(n)=5^n\2+2 \\ _Charles R Greathouse IV_, May 02 2011 %Y A132079 Cf. A047850. %K A132079 easy,nonn %O A132079 0,1 %A A132079 Mohit Maheshwari (mohitmahe1989(AT)gmail.com), Oct 30 2007 %E A132079 Offset changed from 4 to 0; corrected and extended by _Vincenzo Librandi_, May 02 2011