0,3

Reinhard Zumkeller, Table of n, a(n) for n = 0..10000

Table[Ceiling[n/Sqrt[2]], {n, 0, 50}] (* G. C. Greubel, Jul 06 2017 *)

(Haskell)

a049474 = ceiling . (/ sqrt 2) . fromIntegral

-- Reinhard Zumkeller, Jul 01 2015

(PARI) a(n)=if(n, sqrtint((n^2-1)\2)+1, 0) \\ Charles R Greathouse IV, Sep 02 2015

A099188(n) = 2*a(n).

Cf. A049472.

Sequence in context: A003003 A248186 A248183 * A076874 A127041 A173023

Adjacent sequences: A049471 A049472 A049473 * A049475 A049476 A049477

nonn

N. J. A. Sloane

approved