login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A118125 Difference between the even Lucky numbers (A045954) minus the odd Lucky numbers (A000959). 0
-1, -1, 1, -1, 1, -3, 1, 3, 5, -1, 1, 1, 5, 1, 11, 13, 11, 5, 5, 3, 3, 3, 1, 5, 9, 7, 13, 13, 15, 5, 9, 13, 19, 15, 19, 7, 19, 21, 17, 19, 19, 15, 21, 11, 17, 17, 9, 11, 25, 17, 21, 13, 21, 17, 11, 15, 13, 9, 19, 13, 17, 17, 15, 23, 25, 15, 13, 27, 29, 21, 25, 23, 27, 31, 33, 23, 15, 31, 37, 41 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,6

LINKS

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

FORMULA

a(n) = A045954(n) - A000959(n).

MATHEMATICA

ev = Range[2, 435, 2]; i = 2; While[ i <= (len = Length@ev) && (k = ev[[i]]) <= len, ev = Drop[ev, {k, len, k}]; i++ ]; od = Range[1, 476, 2]; i = 2; While[ i <= (len = Length@od) && (k = od[[i]]) <= len, od = Drop[od, {k, len, k}]; i++ ]; od - ev

CROSSREFS

Cf. A000959, A045954.

Sequence in context: A177355 A076157 A087493 * A143732 A130465 A348417

Adjacent sequences:  A118122 A118123 A118124 * A118126 A118127 A118128

KEYWORD

easy,sign

AUTHOR

Robert G. Wilson v, May 11 2006

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 December 2 17:56 EST 2021. Contains 349445 sequences. (Running on oeis4.)