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.

A004682 Primes written in base 8.

This page as a plain text file.
%I A004682 #25 Sep 08 2022 08:44:33
%S A004682 2,3,5,7,13,15,21,23,27,35,37,45,51,53,57,65,73,75,103,107,111,117,
%T A004682 123,131,141,145,147,153,155,161,177,203,211,213,225,227,235,243,247,
%U A004682 255,263,265,277,301,305,307,323,337,343,345,351,357,361,373,401,407,415,417
%N A004682 Primes written in base 8.
%H A004682 Vincenzo Librandi, <a href="/A004682/b004682.txt">Table of n, a(n) for n = 1..1000</a>
%F A004682 a(n) = A007094(prime(n)). - _Michel Marcus_, Sep 03 2016
%t A004682 FromDigits/@IntegerDigits[Prime[Range[50]], 8] (* _Vincenzo Librandi_, Sep 03 2016 *)
%o A004682 (PARI) a(n)=subst(Pol(digits(prime(n),8)),'x,10) \\ _Charles R Greathouse IV_, Nov 06 2013
%o A004682 (PARI) vector(60, n, fromdigits(digits(prime(n), 8))) \\ _G. C. Greubel_, Oct 10 2018
%o A004682 (Magma) [Seqint(Intseq(NthPrime(n),8)): n in [1..60]]; // _G. C. Greubel_, Oct 10 2018
%Y A004682 Cf. similar sequences listed in A004680.
%Y A004682 Cf. A007094.
%K A004682 nonn,easy,base
%O A004682 1,1
%A A004682 _N. J. A. Sloane_