login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A047589 Numbers that are congruent to {6, 7} mod 8. 1
6, 7, 14, 15, 22, 23, 30, 31, 38, 39, 46, 47, 54, 55, 62, 63, 70, 71, 78, 79, 86, 87, 94, 95, 102, 103, 110, 111, 118, 119, 126, 127, 134, 135, 142, 143, 150, 151, 158, 159, 166, 167, 174, 175, 182, 183, 190, 191, 198, 199, 206, 207, 214, 215, 222, 223, 230, 231 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

These are the values of n for which binomial(n,6) is odd. See Maple code. - Gary Detlefs, Nov 29 2011

LINKS

Table of n, a(n) for n=1..58.

Index entries for linear recurrences with constant coefficients, signature (1,1,-1)

FORMULA

a(n) = 8*n-a(n-1)-3 with n>1, a(1)=6. - Vincenzo Librandi, Aug 06 2010

a(n) = 6*floor((n-1)/2) + n + 5. - Gary Detlefs, Nov 29 2011

a(n) = a(n-1)+a(n-2)-a(n-3). G.f.: x*(6+x+x^2)/((1-x)^2*(1+x)). - Colin Barker, Mar 18 2012

a(n) = (1-3*(-1)^n+8*n)/2. - Colin Barker, May 14 2012

MAPLE

for i from 1 to 240 do if(floor((i mod 8)/6) <>0) then print(i) fi od; # Gary Detlefs, Nov 30 2011

MATHEMATICA

LinearRecurrence[{1, 1, -1}, {6, 7, 14}, 60] (* Harvey P. Dale, Sep 11 2017 *)

CROSSREFS

Sequence in context: A283772 A080402 A146308 * A125996 A315836 A315837

Adjacent sequences:  A047586 A047587 A047588 * A047590 A047591 A047592

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 26 02:35 EDT 2019. Contains 323579 sequences. (Running on oeis4.)