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.
%I A183301 #40 Nov 04 2024 22:03:18 %S A183301 1,2,4,5,6,7,8,9,11,12,13,14,15,16,17,18,19,20,22,23,24,25,26,27,28, %T A183301 29,30,31,32,33,34,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52, %U A183301 53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,79,80,81,82,83,84,85,86 %N A183301 Complement of A014105. %F A183301 a(n) = n + floor(sqrt((n-1)/2)) = n + A339183(n-1). - _Aaron J Grech_, Jul 30 2024 %t A183301 a=2; b=1; %t A183301 F[n_]:=a*n^2+b*n; %t A183301 R[n_]:=(n/a+((b-1)/(2a))^2)^(1/2); %t A183301 G[n_]:=n-1+Ceiling[R[n]-(b-1)/(2a)]; %t A183301 Table[G[n], {n,100}] %o A183301 (Python) %o A183301 from math import isqrt %o A183301 def A183301(n): return n+isqrt(n-1>>1) # _Chai Wah Wu_, Nov 04 2024 %Y A183301 Cf. A014105, A339183. %K A183301 nonn,easy %O A183301 1,2 %A A183301 _Clark Kimberling_, Jan 03 2011