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.

A248387 a(n) = index of n-th prime in A247665.

This page as a plain text file.
%I A248387 #16 Jan 12 2015 11:03:07
%S A248387 1,2,4,5,8,9,10,11,12,14,16,17,18,19,20,21,22,23,24,25,26,29,30,33,34,
%T A248387 35,36,37,38,39,41,42,43,44,45,46,47,48,49,51,52,53,54,56,58,59,60,61,
%U A248387 62,64,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81
%N A248387 a(n) = index of n-th prime in A247665.
%H A248387 Russ Cox and N. J. A. Sloane, <a href="/A248387/b248387.txt">Table of n, a(n) for n = 1..99436</a>
%o A248387 (Haskell)
%o A248387 import Data.List (elemIndex); import Data.Maybe (fromJust)
%o A248387 a248387 = (+ 1) . fromJust . (`elemIndex` a247665_list) . a000040
%o A248387 -- _Reinhard Zumkeller_, Oct 16 2014
%Y A248387 Cf. A247665, A248388, A248379.
%Y A248387 Subsequence of A248918.
%K A248387 nonn
%O A248387 1,2
%A A248387 _Russ Cox_ and _N. J. A. Sloane_, Oct 16 2014