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 A162278 #7 Mar 11 2014 01:32:34 %S A162278 1,2,3,5,11,23,47,281,563,2251,22511,225109,450217,2701301,10805203, %T A162278 43220813,2333923901,18671391209,560141736269,5601417362689, %U A162278 22405669450757,448113389015141,3584907112121129,186415169830298707 %N A162278 a(0)=1. For n >= 1, a(n) = the smallest prime either of the form a(n-1)*k - 1 or of the form a(n-1)*k + 1, for some k >= 2. %Y A162278 A061092, A072532 %K A162278 nonn %O A162278 0,2 %A A162278 _Leroy Quet_, Jun 29 2009 %E A162278 Extended by _R. J. Mathar_, Jul 04 2009