The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A152755 Triangle read by rows: row n gives the vector b[n] where b[0] = {-1}; b[1] = {1, -1}; b[n] = prime[n + 2 ], -prime[n + 2] + n - 1, -1,-1, ..., -1. 1
-1, 1, -1, 7, -6, -1, 11, -9, -1, -1, 13, -10, -1, -1, -1, 17, -13, -1, -1, -1, -1, 19, -14, -1, -1, -1, -1, -1, 23, -17, -1, -1, -1, -1, -1, -1, 29, -22, -1, -1, -1, -1, -1, -1, -1, 31, -23, -1, -1, -1, -1, -1, -1, -1, -1, 37, -28, -1, -1, -1, -1, -1, -1, -1, -1, -1 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
EXAMPLE
{-1},
{1, -1},
{7, -6, -1},
{11, -9, -1, -1},
{13, -10, -1, -1, -1},
{17, -13, -1, -1, -1, -1},
{19, -14, -1, -1, -1, -1, -1},
{23, -17, -1, -1, -1, -1, -1, -1},
{29, -22, -1, -1, -1, -1, -1, -1, -1},
{31, -23, -1, -1, -1, -1, -1, -1, -1, -1},
{37, -28, -1, -1, -1, -1, -1, -1, -1, -1, -1}
MATHEMATICA
b[0] = {-1}; b[1] = {1, -1};
b[n_] := b[n] = Join[{Prime[n + 2 ]}, {-Prime[ n + 2] + (n - 1)}, Table[ -1, {i, 2, Length[b[n - 1]]}]];
Table[b[n], {n, 0, 10}]; Flatten[%]
CROSSREFS
Sequence in context: A347074 A112252 A118321 * A152722 A100082 A152861
KEYWORD
tabl,sign
AUTHOR
EXTENSIONS
Edited by N. J. A. Sloane, Dec 13 2008
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 June 4 17:49 EDT 2024. Contains 373102 sequences. (Running on oeis4.)