|
Search: id:A063036
|
|
|
| A063036 |
|
Difference between average of smallest prime greater than n^3 and largest prime less than (n+1)^3 and n-th pronic [=n(n+1)]. |
|
+0 1
|
|
| 11, 33, 70, 139, 238, 372, 552, 775, 1058, 1410, 1800, 2290, 2851, 3501, 4232, 5067, 6006, 7048, 8213, 9496, 10901, 12450, 14124, 15951, 17928, 20059, 22358, 24822, 27470, 30284, 33296, 36504, 39898, 43514, 47325, 51364, 55597, 60105, 64822
(list; graph; listen)
|
|
|
OFFSET
|
2,1
|
|
|
COMMENT
|
First term is not an integer.
|
|
LINKS
|
Harry J. Smith, Table of n, a(n) for n=2,...,1000
|
|
EXAMPLE
|
n=4: a(4) = 70 because smallest prime greater than 4^3 is 67, largest prime less than 5^3 is 113, average of 67 and 113 is 90 and 90-4*5=70.
|
|
PROGRAM
|
(PARI) ? j=[]; for(n=2, 60, j=concat(j, ((precprime((n+1)^3)+nextprime(n^3))/2)- (n*(n+1))))); j
(PARI) { for (n=2, 1000, a=(precprime((n + 1)^3) + nextprime(n^3))/2 - n*(n + 1); write("b063036.txt", n, " ", a) ) } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Aug 16 2009]
|
|
CROSSREFS
|
Sequence in context: A132285 A152740 A080859 this_sequence A163673 A027025 A120354
Adjacent sequences: A063033 A063034 A063035 this_sequence A063037 A063038 A063039
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Jason Earls (zevi_35711(AT)yahoo.com), Aug 03 2001
|
|
|
Search completed in 0.002 seconds
|