The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A082800 Smallest multiple of 4 beginning with n. 6

%I

%S 12,20,32,4,52,60,72,8,92,100,112,12,132,140,152,16,172,180,192,20,

%T 212,220,232,24,252,260,272,28,292,300,312,32,332,340,352,36,372,380,

%U 392,40,412,420,432,44,452,460,472,48,492,500,512,52,532,540,552,56

%N Smallest multiple of 4 beginning with n.

%H Vincenzo Librandi, <a href="/A082800/b082800.txt">Table of n, a(n) for n = 1..1000</a>

%H <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,2,0,0,0,-1).

%F From _Colin Barker_, Mar 23 2017: (Start)

%F G.f.: 4*x*(3 + 5*x + 8*x^2 + x^3 + 7*x^4 + 5*x^5 + 2*x^6) / ((1 - x)^2*(1 + x)^2*(1 + x^2)^2).

%F a(n) = 2*a(n-4) - a(n-8) for n>8.

%F (End)

%t Table[If[Mod[n, 4]==0, n, If[Mod[10 n, 4]==0, 10 n, 10 n + 4 - Mod[10 n, 4]]], {n, 56}] (* _Ray Chandler_, Feb 09 2014 *)

%o (PARI) Vec(4*x*(3 + 5*x + 8*x^2 + x^3 + 7*x^4 + 5*x^5 + 2*x^6) / ((1 - x)^2*(1 + x)^2*(1 + x^2)^2) + O(x^60)) \\ _Colin Barker_, Mar 23 2017

%Y Cf. A082799, A082801, A082802, A082803, A082804.

%K nonn,base,easy

%O 1,1

%A _Amarnath Murthy_, Apr 20 2003

%E Extended by _Ray Chandler_, Feb 09 2014

%E Typo in Mathematica program fixed by _Vincenzo Librandi_, Feb 10 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 13 00:11 EDT 2021. Contains 343829 sequences. (Running on oeis4.)