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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A176624 a(n) = prime(n) + n*(-1)^n. 1
 1, 5, 2, 11, 6, 19, 10, 27, 14, 39, 20, 49, 28, 57, 32, 69, 42, 79, 48, 91, 52, 101, 60, 113, 72, 127, 76, 135, 80, 143, 96, 163, 104, 173, 114, 187, 120, 201, 128, 213, 138, 223, 148, 237, 152, 245, 164, 271, 178, 279, 182, 291, 188, 305, 202, 319, 212, 329, 218 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS FORMULA a(n) = A000040(n) + A038608(n+1). EXAMPLE a(1)=1 because prime(1) + 1*(-1)^1 = 1. MAPLE A176624 := proc(n) ithprime(n)+n*(-1)^n ; end proc: seq(A176624(n), n=1..120) ; # R. J. Mathar, Apr 27 2010 CROSSREFS Sequence in context: A194034 A163257 A332452 * A131784 A302773 A249369 Adjacent sequences:  A176621 A176622 A176623 * A176625 A176626 A176627 KEYWORD nonn AUTHOR Juri-Stepan Gerasimov, Apr 22 2010 EXTENSIONS Entries checked by R. J. Mathar, Apr 27 2010 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 February 28 01:37 EST 2020. Contains 332319 sequences. (Running on oeis4.)