cp's OEIS Frontend

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.

A147677 Subtract 5, add 8, repeat.

This page as a plain text file.
%I A147677 #19 Jan 29 2024 00:42:38
%S A147677 7,2,10,5,13,8,16,11,19,14,22,17,25,20,28,23,31,26,34,29,37,32,40,35,
%T A147677 43,38,46,41,49,44,52,47,55,50,58,53,61,56,64,59,67,62,70,65,73,68,76,
%U A147677 71,79,74,82,77,85,80,88,83,91,86,94,89,97,92,100,95,103,98,106,101,109
%N A147677 Subtract 5, add 8, repeat.
%C A147677 A147675-A147678 are from a quiz that someone asked me to help them with.
%H A147677 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,-1).
%F A147677 From _Zak Seidov_, Apr 22 2009: (Start)
%F A147677 a(n) = a(n-2) + 3.
%F A147677 a(n) = (1/4)*(6*n + 9 - 13*(-1)^n). (End)
%F A147677 From _R. J. Mathar_, Apr 22 2009: (Start)
%F A147677 a(n) = a(n-1) + a(n-2) - a(n-3) = 3*n/2 + 9/4 + 13*(-1)^(n+1)/4.
%F A147677 G.f.: x*(7-5*x+x^2)/((1+x)*(x-1)^2). (End)
%t A147677 LinearRecurrence[{1,1,-1},{7,2,10},80] (* _Harvey P. Dale_, Jan 16 2015 *)
%K A147677 nonn,easy
%O A147677 1,1
%A A147677 _N. J. A. Sloane_, Apr 21 2009
%E A147677 More terms from _Zak Seidov_ and _R. J. Mathar_, Apr 22 2009