login
This site is supported by donations 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

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

CROSSREFS

Cf. A073892.

Sequence in context: A161501 A118273 A242616 * A196396 A086970 A224511

Adjacent sequences:  A073888 A073889 A073890 * A073892 A073893 A073894

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 23 03:10 EDT 2019. Contains 323507 sequences. (Running on oeis4.)