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.

A014248 a(n) = b(n) - c(n) where b(n) = [ n*(sqrt(2)+sqrt(3)) ] and c(n) is the n-th number not in sequence b( ).

This page as a plain text file.
%I A014248 #13 Sep 08 2022 08:44:39
%S A014248 2,4,5,7,8,10,12,14,15,17,18,20,21,24,26,27,29,30,32,33,36,37,39,40,
%T A014248 42,43,45,47,49,51,52,54,55,57,59,61,62,64,65,67,68,71,72,74,76,77,79,
%U A014248 81,83,84,86,87,89,90,93,94,96,97,99,101,102,105,106,108,109,111
%N A014248 a(n) = b(n) - c(n) where b(n) = [ n*(sqrt(2)+sqrt(3)) ] and c(n) is the n-th number not in sequence b( ).
%H A014248 G. C. Greubel, <a href="/A014248/b014248.txt">Table of n, a(n) for n = 1..10000</a>
%F A014248 a(n) = A110117(n) - A110118(n). - _Sean A. Irvine_, Oct 17 2018
%t A014248 Table[Floor[n*(Sqrt[2]+Sqrt[3])] - Floor[n*(Sqrt[2]+Sqrt[6]+2)/4], {n, 1, 70}] (* _G. C. Greubel_, Jun 19 2019 *)
%o A014248 (PARI) vector(70, n,(n*(sqrt(2)+sqrt(3)))\1 -(n*(sqrt(2)+sqrt(6)+2)/4)\1) \\ _G. C. Greubel_, Jun 19 2019
%o A014248 (Magma) [Floor(n*(Sqrt(2)+Sqrt(3))) - Floor(n*(Sqrt(2)+Sqrt(6)+2)/4): n in [1..70]]; // _G. C. Greubel_, Jun 19 2019
%o A014248 (Sage) [floor(n*(sqrt(2)+sqrt(3))) - floor(n*(sqrt(2)+sqrt(6)+2)/4) for n in (1..70)] # _G. C. Greubel_, Jun 19 2019
%Y A014248 Cf. A110117, A110118.
%K A014248 nonn
%O A014248 1,1
%A A014248 _Clark Kimberling_