This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A073892 a(1) = 1, a(2n) = a(2n-1) + p(n) and a(2n+1) = a(2n) - c(n), where p(n)=A000040(n) and c(n)=A002808(n) are the n-th composite and n-th prime numbers, respectively. 1
 1, 3, -1, 2, -4, 1, -7, 0, -9, 2, -8, 5, -7, 10, -4, 15, 0, 23, 7, 36, 18, 49, 29, 66, 45, 86, 64, 107, 83, 130, 105, 158, 132, 191, 164, 225, 197, 264, 234, 305, 273, 346, 313, 392, 358, 441, 406, 495, 459, 556, 518, 619, 580, 683, 643, 750, 708, 817, 773, 886, 841, 968 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS All terms from a(18) onward are positive. LINKS CROSSREFS Cf. A073891. Sequence in context: A083110 A059016 A080418 * A280348 A004608 A201673 Adjacent sequences:  A073889 A073890 A073891 * A073893 A073894 A073895 KEYWORD sign AUTHOR Amarnath Murthy, Aug 17 2002 EXTENSIONS Edited by Dean Hickerson, Oct 13 2002 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.

Last modified May 24 17:39 EDT 2019. Contains 323534 sequences. (Running on oeis4.)