cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A307294 If n is even, a(n) = A000201(n/2+1), otherwise a(n) = A000201((n-1)/2+1) + 1.

This page as a plain text file.
%I A307294 #10 Aug 11 2022 03:19:42
%S A307294 1,2,3,4,4,5,6,7,8,9,9,10,11,12,12,13,14,15,16,17,17,18,19,20,21,22,
%T A307294 22,23,24,25,25,26,27,28,29,30,30,31,32,33,33,34,35,36,37,38,38,39,40,
%U A307294 41,42,43,43,44,45,46,46,47,48,49,50,51,51,52,53,54,55
%N A307294 If n is even, a(n) = A000201(n/2+1), otherwise a(n) = A000201((n-1)/2+1) + 1.
%C A307294 It follows from the definition that a(2i+1) = a(2i)+1 for all i.
%D A307294 Eric Friedman, Scott M. Garrabrant, Ilona K. Phipps-Morgan, A. S. Landsberg and Urban Larsson, Geometric analysis of a generalized Wythoff game, in Games of no Chance 5, MSRI publ. Cambridge University Press, date? [See Omega, a few lines below Table 2.]
%o A307294 (Python)
%o A307294 from math import isqrt
%o A307294 def A307294(n): return ((m:=(n>>1)+1)+isqrt(5*m**2)>>1)+(n&1) # _Chai Wah Wu_, Aug 10 2022
%Y A307294 Cf. A000201, A001950, A307295.
%K A307294 nonn
%O A307294 0,2
%A A307294 _N. J. A. Sloane_, Apr 12 2019