OFFSET
0,3
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 0..10000
Mhenni Benghorbal, Half derivative of x^2
Wikipedia, Fractional calculus
FORMULA
a(n) = floor(8*n^(3/2)/(3*sqrt(Pi))).
The d-th derivative of x^p is p!*x^(p-d)/(p-d)!, as long as (p-d) is not a negative integer.
For p = 2, d = 1/2 2!x^(3/2)/(3/2)! = 2x^(3/2)/((3/2)*(1/2)!) = 2x^(3/2)/((3/2)*sqrt(Pi)/2) = 8x^(3/2)/(3*sqrt(Pi)).
Note that 1.5! = Gamma(5/2).
EXAMPLE
a(4) = floor(8*4^(3/2)/(3*sqrt(Pi))) = floor(12.03604...) = 12.
PROG
(Java) public class Hdx2 {public static void main(String[] args) {String str = ""; for (int n = 0; str.length() < 250; n++) {long f = (long) Math.floor(8 * Math.pow(n, 1.5) / (3 * Math.sqrt(Math.PI))); str += f + ", "; } System.out.println(str); } }
(PARI) a(n)=2*n^(3/2)\gamma(5/2) \\ Charles R Greathouse IV, Nov 23 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
John R Phelan, Nov 23 2013
STATUS
approved