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!)
A338028 Erase the zeros of the sequence and the minus signs: what remains is A018252 (the nonprime numbers). Successive additions of the present terms placed between two zeros give the successive integers of A000040 (the prime numbers). 1
0, -1, -4, 6, -8, 9, 0, -10, 12, -14, 15, 0, -16, -18, 20, 21, 22, -24, 0, -25, 26, -27, -28, 30, 32, 33, -34, 0, -35, -36, -38, 39, 40, 42, 44, -45, 0, -46, -48, 49, -50, 51, -52, 54, 55, 0, -56, -57, -58, 60, 62, -63, 64, 65, 0, -66, -68, -69, 70, -72, 74, 75, 76, 77, -78, 0, -80, -81, -82, -84, 85, 86, 87, -88 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
The successive zeros of the sequence could be replaced by the successive primes; the sequence would then start with 2, -1, -4, 6, -8, 9, 3, -10, 12, -14, 15, 5, -16, -18, 20, 21, 22, -24, 7, -25, 26, -27, -28, 30, 32, 33, -34, 11, -35, ...
LINKS
EXAMPLE
2 is the result of (-1) + (-4) + 6 + (-8) + 9,
3 is the result of (-10) + 12 + (-14) + 15,
5 is the result of (-16) + (-18) + 20 + 21 + 22 + (-24),
7 is the result of (-25) + 26 + (-27) + (-28) + 30 + 32 + 33 + (-34),
11 is the result of (-35) + (-36) + (-38) + 39 + 40 + 42 + 44 + (-45).
etc.
CROSSREFS
Sequence in context: A083786 A199976 A165957 * A110750 A275589 A129808
KEYWORD
sign
AUTHOR
Eric Angelini and Carole Dubois, Oct 08 2020
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 May 11 17:03 EDT 2024. Contains 372410 sequences. (Running on oeis4.)