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!)
A131640 First differences are periodic: 50, 50, 75, 50, 50, 75, ... 1

%I #28 Jan 14 2024 00:14:29

%S 985,1035,1085,1160,1210,1260,1335,1385,1435,1510,1560,1610,1685,1735,

%T 1785,1860,1910,1960,2035,2085,2135,2210,2260,2310,2385,2435,2485,

%U 2560,2610,2660,2735,2785,2835,2910,2960,3010,3085,3135,3185,3260,3310,3360

%N First differences are periodic: 50, 50, 75, 50, 50, 75, ...

%H Harvey P. Dale, <a href="/A131640/b131640.txt">Table of n, a(n) for n = 0..1000</a>

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

%F G.f.: -5*(-197-10*x-10*x^2+182*x^3)/((-1+x)^2*(x^2+x+1)). - _R. J. Mathar_, Nov 14 2007

%p A131640 := proc(n) option remember ; if n =0 then 985 ; elif n mod 3 = 0 then A131640(n-1)+75 ; else A131640(n-1)+50 ; fi ; end: seq(A131640(n),n=0..80) ; # _R. J. Mathar_, Oct 24 2007

%t LinearRecurrence[{1,0,1,-1},{985,1035,1085,1160},50] (* _Ray Chandler_, Aug 25 2015 *)

%o (PARI) Vec(-5*(-197-10*x-10*x^2+182*x^3)/((-1+x)^2*(x^2+x+1)) + O(x^40)) \\ _Andrew Howroyd_, Feb 20 2018

%K nonn,easy

%O 0,1

%A Eric M. Adler (eadler(AT)simi.k12.ca.us), Sep 05 2007

%E Definition supplied by _N. J. A. Sloane_, Sep 14 2007

%E More terms from _R. J. Mathar_, Oct 24 2007

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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)