login

Revision History for A047477

(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, 5, 7} mod 8.
(history; published version)
#23 by Charles R Greathouse IV at Thu Sep 08 08:44:57 EDT 2022
PROG

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

Discussion
Thu Sep 08
08:44
OEIS Server: https://oeis.org/edit/global/2944
#22 by Bruno Berselli at Thu Oct 19 10:15:34 EDT 2017
STATUS

editing

approved

#21 by Bruno Berselli at Thu Oct 19 10:14:14 EDT 2017
COMMENTS

Numbers m such that Lucas(m) mod 3 = 2. - Bruno Berselli, Oct 19 2017

FORMULA

G.f.: x^2*(5+2*x+x^2)/((1-x)^2*(1+x+x^2)). [_- _Colin Barker_, May 14 2012]

a(n) = a(n-1) + a(n-3) - a(n-4) for n>4. [_- _Vincenzo Librandi_, May 16 2012]

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

a(3k3*k) = 8k8*k-1, a(3k3*k-1) = 8k8*k-3, a(3k3*k-2) = 8k8*k-8. (End)

MATHEMATICA

Select[Range[0, 300], MemberQ[{0, 5, 7}, Mod[#, 8]] &] (* Vincenzo Librandi, May 16 2012 *)

CROSSREFS

Cf. A000032.

Cf. A016825: numbers m such that Lucas(m) mod 3 = 0.

Cf. A047459: numbers m such that Lucas(m) mod 3 = 1.

STATUS

approved

editing

#20 by Joerg Arndt at Sun Jun 12 12:17:30 EDT 2016
STATUS

reviewed

approved

#19 by Michel Marcus at Sun Jun 12 11:53:37 EDT 2016
STATUS

proposed

reviewed

#18 by Wesley Ivan Hurt at Sun Jun 12 11:18:47 EDT 2016
STATUS

editing

proposed

#17 by Wesley Ivan Hurt at Fri Jun 10 11:45:55 EDT 2016
DATA

0, 5, 7, 8, 13, 15, 16, 21, 23, 24, 29, 31, 32, 37, 39, 40, 45, 47, 48, 53, 55, 56, 61, 63, 64, 69, 71, 72, 77, 79, 80, 85, 87, 88, 93, 95, 96, 101, 103, 104, 109, 111, 112, 117, 119, 120, 125, 127, 128, 133, 135, 136, 141, 143, 144, 149, 151, 152, 157, 159

LINKS

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

FORMULA

a(n) = a(n-1) + a(n-3) - a(n-4) for n>4. [Vincenzo Librandi, May 16 2012]

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

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

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

MAPLE

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

MATHEMATICA

Select[Range[0, 300], MemberQ[{0, 5, 7}, Mod[#, 8]]&] (* Vincenzo Librandi, May 16 2012 *)

AUTHOR
STATUS

approved

editing

#16 by Charles R Greathouse IV at Sat Jun 13 00:49:58 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
#15 by Charles R Greathouse IV at Fri Jun 12 15:24:45 EDT 2015
LINKS

<a href="/index/Rea#recLCCRec">Index to sequences with 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
#14 by Bruno Berselli at Wed May 16 08:57:25 EDT 2012
STATUS

editing

approved