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.

A004678 Primes written in base 4.

This page as a plain text file.
%I A004678 #26 Sep 08 2022 08:44:33
%S A004678 2,3,11,13,23,31,101,103,113,131,133,211,221,223,233,311,323,331,1003,
%T A004678 1013,1021,1033,1103,1121,1201,1211,1213,1223,1231,1301,1333,2003,
%U A004678 2021,2023,2111,2113,2131,2203,2213,2231,2303,2311,2333,3001,3011,3013
%N A004678 Primes written in base 4.
%H A004678 Vincenzo Librandi, <a href="/A004678/b004678.txt">Table of n, a(n) for n = 1..1000</a>
%F A004678 a(n) = A007090(A000040(n)). - _Jonathan Vos Post_, Sep 09 2006
%t A004678 FromDigits/@IntegerDigits[Prime[Range[50]],4] (* _Vincenzo Librandi_, Sep 03 2016 *)
%o A004678 (PARI) a(n)=subst(Pol(digits(prime(n),4)),'x,10) \\ _Charles R Greathouse IV_, Nov 06 2013
%o A004678 (Magma) [Seqint(Intseq(NthPrime(n), 4)): n in [1..60]]; // _G. C. Greubel_, Oct 12 2018
%Y A004678 Analogs in other bases: A004676 (base 2), A001363 (base 3), A004679 (base 5), A004680 (base 6), A004681 (base 7), A004682 (base 8), A004683 (base 9), A000040 (base 10), A004684 (base 11).
%Y A004678 Cf. A072805 (primes of form 4k+3 written in base 3).
%K A004678 nonn,easy,base
%O A004678 1,1
%A A004678 _N. J. A. Sloane_
%E A004678 More terms from _Vincenzo Librandi_, Sep 03 2016