1,3

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

p[n_] := 1 + Floor[n/Sqrt[5]]

Table[p[n], {n, 1, 90}] (* A194964 *)

(MAGMA) [1+Floor(n/Sqrt(5)): n in [1..80] ]; // Vincenzo Librandi, Sep 10 2011

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

Cf. A194983, A194984, A194985.

Sequence in context: A165906 A165907 A104103 * A029923 A096029 A206915

Adjacent sequences: A194961 A194962 A194963 * A194965 A194966 A194967

nonn

Clark Kimberling, Sep 07 2011

approved