[go: up one dir, main page]

login
Revision History for A047289 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Numbers that are congruent to {0, 4, 6} mod 7.
(history; published version)
#37 by Charles R Greathouse IV at Thu Sep 08 08:44:56 EDT 2022
PROG

(MAGMAMagma) I:=[0, 4, 6, 7]; [n le 4 select I[n] else Self(n-1)+Self(n-3)-Self(n-4): n in [1..70]]; // Vincenzo Librandi, Apr 26 2012

Discussion
Thu Sep 08
08:44
OEIS Server: https://oeis.org/edit/global/2944
#36 by Bruno Berselli at Mon Jun 13 09:21:20 EDT 2016
STATUS

proposed

approved

#35 by Wesley Ivan Hurt at Mon Jun 13 09:19:28 EDT 2016
STATUS

editing

proposed

#34 by Wesley Ivan Hurt at Fri Jun 10 23:06:49 EDT 2016
LINKS

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

FORMULA

From Colin Barker, Mar 13 2012: (Start)

a(n) = a(n-1)+a(n-3)-a(n-4). G.f.: x*(4+2*x+x^2)/((1-x)^2*(1+x+x^2)). [_Colin Barker_, Mar 13 2012]

a(n) = a(n-1) + a(n-3) - a(n-4) for n>4. (End)

a(n) = sum_Sum_{i=1..n} 2^(-i mod 3). - Wesley Ivan Hurt, Jul 08 2014

From Wesley Ivan Hurt, Jun 10 2016: (Start)

a(n) = (21*n-12+3*cos(2*n*Pi/3)-5*sqrt(3)*sin(2*n*Pi/3))/9.

a(3k) = 7k-1, a(3k-1) = 7k-3, a(3k-2) = 7k-7. (End)

MAPLE

A047289:=n->(21*n-12+3*cos(2*n*Pi/3)-5*sqrt(3)*sin(2*n*Pi/3))/9: seq(A047289(n), n=1..100); # Wesley Ivan Hurt, Jun 10 2016

MATHEMATICA

Select[Range[0, 125], MemberQ[{0, 4, 6}, Mod[#, 7]]&] (* Vincenzo Librandi, Apr 26 2012 *)

AUTHOR
STATUS

approved

editing

#33 by Charles R Greathouse IV at Sat Jun 13 00:49:51 EDT 2015
LINKS

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

Discussion
Sat Jun 13
00:49
OEIS Server: https://oeis.org/edit/global/2439
#32 by Charles R Greathouse IV at Sat Jun 13 00:27:42 EDT 2015
LINKS

<a href="/index/Rec">Index entries for to sequences related to with linear recurrences with constant coefficients</a>, signature (1,0,1,-1).

Discussion
Sat Jun 13
00:27
OEIS Server: https://oeis.org/edit/global/2438
#31 by Charles R Greathouse IV at Fri Jun 12 15:24:42 EDT 2015
LINKS

<a href="/index/Rea#recLCCRec">Index entries for sequences related to linear recurrences with constant coefficients</a>, signature (1,0,1,-1).

Discussion
Fri Jun 12
15:24
OEIS Server: https://oeis.org/edit/global/2436
#30 by Ralf Stephan at Sat Jul 12 11:38:42 EDT 2014
STATUS

reviewed

approved

#29 by Michel Marcus at Sat Jul 12 11:04:57 EDT 2014
STATUS

proposed

reviewed

#28 by Wesley Ivan Hurt at Sat Jul 12 10:54:20 EDT 2014
STATUS

editing

proposed