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.

A181283 Numbers n with property that (n+1)*prime(n+1)-n*prime(n) is a perfect square s^2.

This page as a plain text file.
%I A181283 #5 Nov 21 2013 12:50:06
%S A181283 1,2,24,45,58,64,135,168,287,325,455,601,1506,1965,1990,2070,2189,
%T A181283 2428,3967,4017,4388,4895,6966,7419,9252,10144,10242,10618,12980,
%U A181283 14175,14385,14740,15140,18724,22424,24203,24935,24989,25171,25974,27817,29688
%N A181283 Numbers n with property that (n+1)*prime(n+1)-n*prime(n) is a perfect square s^2.
%F A181283 {n,s}:{1,2},{2,3},{24,17},{45,17},{58,25},{64,21},{135,43},{168,55},{287,55}.
%t A181283 Select[Range[30000],IntegerQ[Sqrt[(#+1)Prime[#+1]-# Prime[#]]]&] (* _Harvey P. Dale_, Mar 20 2012 *)
%o A181283 (PARI) a=2;{for(n=1,10^5,b=nextprime(a+1);issquare((n+1)*b-n*a)&print(n);a=b)}
%Y A181283 Cf. A175897.
%K A181283 nonn
%O A181283 1,2
%A A181283 _Zak Seidov_, Oct 12 2010