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.

A112458 Let b(n) = A112455(n). Then b(n)/n is an integer iff n is prime (at least for the first few values, as for the Perrin sequence). This sequence is the values of b(p)/p, where p is the n th prime.

This page as a plain text file.
%I A112458 #7 Aug 09 2015 00:50:52
%S A112458 1,1,-1,1,0,1,3,-3,2,-16,13,58,93,-48,257,-508,-2439,3751,3120,21824,
%T A112458 -28485,-49886,-184653,-158325,-1238859,2621639,-6281879,-10666638,
%U A112458 5587636,-32300736,-541428896,-309499443,-3404250996,4487895627,30910925690,-33820854920,-104685213761,219810779538
%N A112458 Let b(n) = A112455(n). Then b(n)/n is an integer iff n is prime (at least for the first few values, as for the Perrin sequence). This sequence is the values of b(p)/p, where p is the n th prime.
%D A112458 See Perrin sequences
%p A112458 A112455 := proc(n) option remember; if n <= 3 then op(n+1,[ -3,0,2,3]) ; else -A112455(n-2)-A112455(n-3) ; fi ; end: A112458 := proc(n) local p ; p := ithprime(n) ; A112455(p)/p ; end: seq(A112458(n),n=1..80) ; # _R. J. Mathar_, Aug 24 2007
%K A112458 sign
%O A112458 1,7
%A A112458 _Anthony C Robin_, Dec 13 2005
%E A112458 More terms from _R. J. Mathar_, Aug 24 2007