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.

A095138 Indices of primes in A095137(n).

This page as a plain text file.
%I A095138 #2 Mar 30 2012 17:31:01
%S A095138 1,3,4,5,6,7,17,22,25,29,34,40,58,78,99,146,249,554,767,963
%N A095138 Indices of primes in A095137(n).
%t A095138 f[n_] := Abs[ Product[ Prime[i], {i, 2, n, 2}] + Product[ Prime[i], {i, 1, n, 2}]]; f[1] = 2; Do[ If[ PrimeQ[ f[n]], Print[n]], {n, 1000}]
%Y A095138 Cf. A095137.
%K A095138 nonn
%O A095138 1,2
%A A095138 _Robert G. Wilson v_, May 28 2004