|
|
A059999
|
|
a(n) = (1/6)*n^5 - (19/8)*n^4 + (51/4)*n^3 - (253/8)*n^2 + (445/12)*n - 14.
|
|
1
|
|
|
2, 3, 5, 7, 11, 42, 168, 520, 1312, 2861, 5607, 10133, 17185, 27692, 42786, 63822, 92398, 130375, 179897, 243411, 323687, 423838, 547340, 698052, 880236, 1098577, 1358203, 1664705, 2024157, 2443136, 2928742, 3488618, 4130970
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Deliberately contrived to begin with first five primes; illustrates absurdity of many "guess the next term" puzzles.
The 4th-order formula a(n) = (1/8)*n^4 - (17/12)*n^3 + (47/8)*n^2 - (103/12)*n + 6 is sufficient to yield a(n) = prime(n) for n = 1..5. - Jon E. Schoenfield, Sep 15 2018
|
|
LINKS
|
|
|
MATHEMATICA
|
Table[(n^5)/6 - (19/8)n^4 + (51/4)n^3 - (253/8)n^2 + (445/12)n - 14, {n, 40}] (* Alonso del Arte, Jan 25 2017 *)
|
|
PROG
|
(PARI) for (n=1, 1000, write("b059999.txt", n, " ", (4*n^5 - 57*n^4 + 306*n^3 - 759*n^2 + 890*n)/24 - 14); ) \\ Harry J. Smith, Jul 01 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
dumb,easy,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|