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.

A152528 a(n) = p(n)*p(n+2) - 3*p(n+1), where p(n) is the n-th prime.

This page as a plain text file.
%I A152528 #6 Jul 28 2015 04:09:15
%S A152528 1,6,34,58,148,196,334,482,626,980,1160,1468,1798,2138,2614,3056,3770,
%T A152528 4130,4678,5390,5822,6782,7784,8698,9688,10498,10906,11764,13504,
%U A152528 14422,17006,17798,19996,20542,22940,24142,25730,27698
%N A152528 a(n) = p(n)*p(n+2) - 3*p(n+1), where p(n) is the n-th prime.
%p A152528 A152528 := proc(n)
%p A152528     ithprime(n)*ithprime(n+2)-3*ithprime(n+1) ;
%p A152528 end proc: # _R. J. Mathar_, Jul 28 2015
%t A152528 #[[1]]*#[[3]]-3*#[[2]]&/@Partition[Prime[Range[50]],3,1] (* _Harvey P. Dale_, Jul 14 2014 *)
%Y A152528 Cf. A000040, A111071, A152527, A152529, A152530, A152531, A152532.
%K A152528 easy,nonn
%O A152528 1,2
%A A152528 _Omar E. Pol_, Dec 06 2008