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!)
A073891 a(1) = 1, a(2n) = a(2n-1) + c(n) and a(2n+1) = a(2n) - p(n), where c(n)=A002808(n) and p(n)=A000040(n) are the n-th composite and n-th prime numbers, respectively. 1
1, 5, 3, 9, 6, 14, 9, 18, 11, 21, 10, 22, 9, 23, 6, 21, 2, 18, -5, 13, -16, 4, -27, -6, -43, -21, -62, -38, -81, -56, -103, -77, -130, -103, -162, -134, -195, -165, -232, -200, -271, -238, -311, -277, -356, -321, -404, -368, -457, -419, -516, -477, -578, -538, -641, -599, -706, -662, -771, -726, -839, -793 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
All terms from a(23) onward are negative.
LINKS
CROSSREFS
Cf. A073892.
Sequence in context: A161501 A118273 A242616 * A196396 A086970 A224511
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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 11:59 EDT 2024. Contains 371254 sequences. (Running on oeis4.)