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.

A164515 Positive numbers not of the form n^2+2.

This page as a plain text file.
%I A164515 #5 Jun 22 2013 08:44:44
%S A164515 1,4,5,7,8,9,10,12,13,14,15,16,17,19,20,21,22,23,24,25,26,28,29,30,31,
%T A164515 32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,48,49,50,52,53,54,55,56,
%U A164515 57,58,59,60,61,62,63,64,65,67,68,69,70,71,72,73,74,75,76,77,78,79,80
%N A164515 Positive numbers not of the form n^2+2.
%C A164515 Complement of A059100, and essentially also of A010000.
%F A164515 A000027 \ A059100.
%F A164515 a(n) = n + 1 + floor(sqrt(n-1) + 1/2), for n >= 2.
%t A164515 With[{upto=80},Complement[Range[upto],Range[0,Floor[Sqrt[upto-2]]]^2+2]] (* _Harvey P. Dale_, Jun 22 2013 *)
%K A164515 nonn,easy
%O A164515 1,2
%A A164515 _Jaroslav Krizek_, Aug 14 2009
%E A164515 Redefined for simplicity by removing 2, _R. J. Mathar_, Aug 31 2009