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.

A176034 Difference between product of two distinct primes and next perfect square.

This page as a plain text file.
%I A176034 #2 Mar 31 2012 12:38:35
%S A176034 3,6,2,1,4,3,10,3,2,1,11,10,3,13,9,7,6,2,16,12,7,4,18,15,14,13,9,7,6,
%T A176034 5,15,10,6,3,2,22,21,15,11,10,3,2,1,24,23,14,11,10,8,3,19,18,13,11,9,
%U A176034 2,24,23,22,20,19,16,12,11,10,8,7,6,4,30,21,19,9,7,3,2,30,27,24,22,15,11,2
%N A176034 Difference between product of two distinct primes and next perfect square.
%C A176034 9-6=3, 16-10=6, 16-14=2, 16-15=1, 25-21=4,...
%t A176034 f1[n_]:=Floor[Sqrt[n]];f2[n_]:=Last/@FactorInteger[n]=={1,1};lst={};Do[If[f2[n],AppendTo[lst,(f1[n]+1)^2-n]],{n,0,6!}];lst
%Y A176034 Cf. A006881, A056892, A106044, A176032, A176033
%K A176034 nonn
%O A176034 1,1
%A A176034 _Vladimir Joseph Stephan Orlovsky_, Apr 06 2010