OFFSET
0,1
COMMENTS
See Connell (1959) for further information.
REFERENCES
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
T. D. Noe, Table of n, a(n) for n = 0..10000
Ian G. Connell, A generalization of Wythoff's game, Canad. Math. Bull. 2 (1959) 181-190
N. J. A. Sloane, Families of Essentially Identical Sequences, Mar 24 2021 (Includes this sequence).
FORMULA
a(n) = floor( (n+1/2)*(3+sqrt 5) ).
a(n) = A001965(n)+4*n+2. - Chai Wah Wu, Aug 25 2022
MATHEMATICA
Table[Floor[(n + 1/2)*(Sqrt[5] + 3)], {n, 0, 100}] (* T. D. Noe, Aug 17 2012 *)
PROG
(Python)
from math import isqrt
def A001966(n): return ((m:=(n<<1)+1)+isqrt(5*m**2)>>1)+m # Chai Wah Wu, Aug 25 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Edited by Hugo Pfoertner, Dec 27 2021
STATUS
approved