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.

A164314 Largest prime factor of n^2 - 2.

This page as a plain text file.
%I A164314 #16 Jul 22 2017 20:52:22
%S A164314 2,7,7,23,17,47,31,79,7,17,71,167,97,223,127,41,23,359,199,439,241,31,
%T A164314 41,89,337,727,23,839,449,137,73,1087,577,1223,647,1367,103,31,47,73,
%U A164314 881,1847,967,17,151,2207,1151,2399,1249,113,193,401,47,3023,1567,191
%N A164314 Largest prime factor of n^2 - 2.
%H A164314 Alois P. Heinz, <a href="/A164314/b164314.txt">Table of n, a(n) for n = 2..10000</a>
%F A164314 a(n) = A006530(A008865(n)).
%p A164314 a:= n-> max(numtheory[factorset](n^2-2)):
%p A164314 seq(a(n), n=2..60);  # _Alois P. Heinz_, Jul 22 2017
%t A164314 Table[FactorInteger[n^2 - 2][[-1, 1]], {n, 2, 57}] (* _Michael De Vlieger_, Jul 22 2017 *)
%o A164314 (PARI) a(n) = vecmax(factor(n^2-2)[,1]); \\ _Michel Marcus_, Jul 22 2017
%Y A164314 Cf. A002583, A014442, A069902.
%K A164314 nonn
%O A164314 2,1
%A A164314 _Vladimir Joseph Stephan Orlovsky_, Aug 12 2009
%E A164314 Offset corrected by _R. J. Mathar_, Aug 21 2009