

A004678


Primes written in base 4.


7



2, 3, 11, 13, 23, 31, 101, 103, 113, 131, 133, 211, 221, 223, 233, 311, 323, 331, 1003, 1013, 1021, 1033, 1103, 1121, 1201, 1211, 1213, 1223, 1231, 1301, 1333, 2003, 2021, 2023, 2111, 2113, 2131, 2203, 2213, 2231, 2303, 2311, 2333, 3001, 3011, 3013
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000


FORMULA

a(n) = A007090(A000040(n)).  Jonathan Vos Post, Sep 09 2006


MATHEMATICA

FromDigits/@IntegerDigits[Prime[Range[50]], 4] (* Vincenzo Librandi, Sep 03 2016 *)


PROG

(PARI) a(n)=subst(Pol(digits(prime(n), 4)), 'x, 10) \\ Charles R Greathouse IV, Nov 06 2013
(MAGMA) [Seqint(Intseq(NthPrime(n), 4)): n in [1..60]]; // G. C. Greubel, Oct 12 2018


CROSSREFS

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).
Cf. A072805 (primes of form 4k+3 written in base 3).
Sequence in context: A115669 A036956 A076503 * A107715 A090707 A062350
Adjacent sequences: A004675 A004676 A004677 * A004679 A004680 A004681


KEYWORD

nonn,easy,base


AUTHOR

N. J. A. Sloane


EXTENSIONS

More terms from Vincenzo Librandi, Sep 03 2016


STATUS

approved



