|
Search: id:A082676
|
|
|
| A082676 |
|
Constant term of polynomial of degree n passing through the first n+1 consecutive prime-index-primes. |
|
+0 1
|
|
| 1, 5, 9, 21, 53, 129, 303, 695, 1543, 3251, 6375, 11411, 18113, 23877, 20517, -11385, -111285, -350599, -844759, -1752605, -3220485, -5146003, -6428481, -2891081, 17977615, 89400059, 292685805, 814545349, 2061282923, 4876315217, 10937900039, 23459793869, 48384441535, 96352980717
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Eventually some terms will be negative.
|
|
FORMULA
|
Prime-index-primes (PIPS) are generated by prime(prime(x)) x=1, 2...
|
|
EXAMPLE
|
For n = 3, the polynomial p(x) = (-2/3)x^3 + 6x^2 - (34/3)x + 9 satisfies p(1) = 3, p(2) = 5, p(3) = 11, and p(4) = 17, so a(3) = 9.
|
|
PROGRAM
|
(PARI) for (i = 2, 50, x = vector(i); y = x; for (j = 1, i, y[j] = prime(prime(j)); x[j] = j); q = polinterpolate(x, y, 0); print(q))
|
|
CROSSREFS
|
Sequence in context: A083943 A097074 A050559 this_sequence A110200 A063404 A102177
Adjacent sequences: A082673 A082674 A082675 this_sequence A082677 A082678 A082679
|
|
KEYWORD
|
easy,sign
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), May 19 2003
|
|
EXTENSIONS
|
More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Sep 23 2004
|
|
|
Search completed in 0.002 seconds
|