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 A249367 #14 Oct 30 2014 18:36:28 %S A249367 0,2,3,8,12,18,27,32,48,50,72,75,98,108,128,147,162,192,200,242,243, %T A249367 288,300,338,363,392,432,450,507,512,578,588,648,675,722,768,800,867, %U A249367 882,968,972,1058,1083,1152,1200,1250,1323,1352,1452,1458,1568,1587,1682 %N A249367 Numbers of the form 2n^2 or 3n^2. %C A249367 Union of 2*A000290 = A001105 and 3*A000290 = A033428. %C A249367 Essentially a duplicate of A249096. %F A249367 {2, 3} * A000290 = A001105 U A033428. %p A249367 N:= 10000: # to get all terms <= N %p A249367 {seq(2*i^2,i=0..floor(sqrt(N/2)))} union {seq(3*i^2,i=0..floor(sqrt(N/3)))}; %p A249367 # if using Maple 11 or earlier, uncomment the following line: %p A249367 # sort(convert(%,list)); %p A249367 # _Robert Israel_, Oct 27 2014 %o A249367 (PARI) for(n=0,5000,if(issquare(n/3)||issquare(n/2),print1(n,", "))) \\ _Derek Orr_, Oct 26 2014 %Y A249367 Cf. A000290, A001105, A033428. %Y A249367 A249096 is essentially the same sequence. %K A249367 nonn,easy %O A249367 1,2 %A A249367 _M. F. Hasler_, Oct 26 2014