The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A227146 Numbers that are congruent to {5, 11, 13, 14, 19} modulo 24. 4

%I #14 Apr 30 2018 15:15:50

%S 5,11,13,14,19,29,35,37,38,43,53,59,61,62,67,77,83,85,86,91,101,107,

%T 109,110,115,125,131,133,134,139,149,155,157,158,163,173,179,181,182,

%U 187,197,203,205,206,211,221,227,229,230,235,245,251,253,254,259,269

%N Numbers that are congruent to {5, 11, 13, 14, 19} modulo 24.

%C A089911(a(n)) = 5.

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

%F G.f.: x*(1+x)*(5*x^4+x^2+x+5) / ( (x^4+x^3+x^2+x+1)*(x-1)^2 ). - _R. J. Mathar_, Jul 17 2013

%F From _Wesley Ivan Hurt_, Dec 28 2016: (Start)

%F a(n) = a(n-1) + a(n-5) - a(n-6) for n > 6.

%F a(n) = (120*n - 50 - (n mod 5) + 19*((n+1) mod 5) + 14*((n+2) mod 5) - 6*((n+3) mod 5) - 26*((n+4) mod 5))/25. (End)

%t Select[Range[300],MemberQ[{5,11,13,14,19},Mod[#,24]]&] (* or *) LinearRecurrence[{1,0,0,0,1,-1},{5,11,13,14,19,29},60] (* _Harvey P. Dale_, Apr 30 2018 *)

%o (Haskell)

%o a227146 n = a227146_list !! (n-1)

%o a227146_list = [5,11,13,14,19] ++ map (+ 24) a227146_list

%Y Cf. A004771, A089911, A227144.

%K nonn,easy

%O 1,1

%A _Reinhard Zumkeller_, Jul 05 2013

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 31 01:18 EDT 2024. Contains 372980 sequences. (Running on oeis4.)