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!)
A022834 a(n) = c(1)p(3) + ... + c(n)p(n+2), where c(i) = 1 if a(i-1) <= p(i+2) and c(i) = -1 if a(i-1) > p(i+2) (p(i) = primes). 0
5, 12, 1, 14, 31, 12, 35, 6, 37, 74, 33, 76, 29, 82, 23, 84, 17, 88, 15, 94, 11, 100, 3, 104, 1, 108, 217, 104, 231, 100, 237, 98, 247, 96, 253, 90, 257, 84, 263, 82, 273, 80, 277, 78, 289, 66, 293, 64, 297, 58, 299, 48, 305, 42, 311, 40, 317, 36, 319, 26, 333 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..60.

CROSSREFS

Sequence in context: A130735 A322153 A022835 * A335102 A342069 A046610

Adjacent sequences: A022831 A022832 A022833 * A022835 A022836 A022837

KEYWORD

nonn

AUTHOR

Clark Kimberling

EXTENSIONS

Missing a(45)=66 inserted and name corrected by Sean A. Irvine, May 21 2019

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 January 27 21:49 EST 2023. Contains 359849 sequences. (Running on oeis4.)