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!)
A047375 Numbers that are congruent to {0, 4, 5} mod 7. 1
0, 4, 5, 7, 11, 12, 14, 18, 19, 21, 25, 26, 28, 32, 33, 35, 39, 40, 42, 46, 47, 49, 53, 54, 56, 60, 61, 63, 67, 68, 70, 74, 75, 77, 81, 82, 84, 88, 89, 91, 95, 96, 98, 102, 103, 105, 109, 110, 112, 116, 117, 119, 123, 124, 126, 130, 131, 133, 137, 138, 140 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
G.f.: x^2*(4+x+2*x^2) / ((1+x+x^2)*(x-1)^2). - R. J. Mathar, Dec 04 2011
From Wesley Ivan Hurt, Jun 09 2016: (Start)
a(n) = a(n-1) + a(n-3) - a(n-4) for n>4.
a(n) = (21*n-15-3*cos(2*n*Pi/3)-5*sqrt(3)*sin(2*n*Pi/3))/9.
a(3k) = 7k-2, a(3k-1) = 7k-3, a(3k-2) = 7k-7. (End)
MAPLE
A047375:=n->(21*n-15-3*cos(2*n*Pi/3)-5*sqrt(3)*sin(2*n*Pi/3))/9: seq(A047375(n), n=1..100); # Wesley Ivan Hurt, Jun 09 2016
MATHEMATICA
Select[Range[0, 150], MemberQ[{0, 4, 5}, Mod[#, 7]] &] (* Wesley Ivan Hurt, Jun 09 2016 *)
PROG
(Magma) [n : n in [0..150] | n mod 7 in [0, 4, 5]]; // Wesley Ivan Hurt, Jun 09 2016
CROSSREFS
Sequence in context: A032686 A074300 A344157 * A358805 A005487 A291741
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)