|
|
A226519
|
|
Irregular triangle read by rows: T(n,k) = Sum_{i=0..k} Legendre(i,prime(n)).
|
|
1
|
|
|
1, 1, 0, 1, 0, -1, 0, 1, 2, 1, 2, 1, 0, 1, 0, 1, 2, 3, 2, 1, 0, 1, 0, 1, 0, 1, 2, 1, 0, -1, -2, -1, 0, -1, 0, 1, 2, 1, 2, 1, 0, -1, 0, 1, 0, -1, -2, -1, -2, -1, 0, 1, 0, -1, 0, 1, 2, 3, 2, 3, 2, 3, 2, 1, 0, -1, 0, 1, 0, 1, 2, 3, 4, 3, 4, 3, 4, 5, 4, 3, 4, 5, 4, 3, 4, 3, 4, 3, 2, 1, 0
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,9
|
|
COMMENTS
|
Strictly speaking, the symbol in the definition is the Legendre-Jacobi-Kronecker symbol, since the Legendre symbol is defined only for odd primes.
|
|
REFERENCES
|
Beck, József. Inevitable randomness in discrete mathematics. University Lecture Series, 49. American Mathematical Society, Providence, RI, 2009. xii+250 pp. ISBN: 978-0-8218-4756-5; MR2543141 (2010m:60026). See page 23.
|
|
LINKS
|
|
|
EXAMPLE
|
Triangle begins:
[1],
[1, 0],
[1, 0, -1, 0],
[1, 2, 1, 2, 1, 0],
[1, 0, 1, 2, 3, 2, 1, 0, 1, 0],
[1, 0, 1, 2, 1, 0, -1, -2, -1, 0, -1, 0],
[1, 2, 1, 2, 1, 0, -1, 0, 1, 0, -1, -2, -1, -2, -1, 0],
...
|
|
MAPLE
|
with(numtheory);
T:=(n, k)->add(legendre(i, ithprime(n)), i=1..k);
f:=n->[seq(T(n, k), k=1..ithprime(n)-1)];
[seq(f(n), n=1..15)];
|
|
CROSSREFS
|
Cf. A165582. A variant of A226518, which is the main entry for this triangle.
|
|
KEYWORD
|
sign,tabf
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|