login
A004679
Primes written in base 5.
5
2, 3, 10, 12, 21, 23, 32, 34, 43, 104, 111, 122, 131, 133, 142, 203, 214, 221, 232, 241, 243, 304, 313, 324, 342, 401, 403, 412, 414, 423, 1002, 1011, 1022, 1024, 1044, 1101, 1112, 1123, 1132, 1143, 1204, 1211, 1231, 1233, 1242, 1244, 1321, 1343, 1402, 1404, 1413, 1424, 1431
OFFSET
1,1
LINKS
FORMULA
a(n) = A007091(A000040(n)). - Michel Marcus, Sep 03 2016
MATHEMATICA
FromDigits/@IntegerDigits[Prime[Range[50]], 5] (* Harvey P. Dale, Dec 09 2010 *)
PROG
(PARI) a(n)=subst(Pol(digits(prime(n), 5)), 'x, 10) \\ Charles R Greathouse IV, Nov 06 2013
(Magma) [Seqint(Intseq(NthPrime(n), 5)): n in [1..60]]; // G. C. Greubel, Oct 12 2018
CROSSREFS
Cf. similar sequences listed in A004680.
Sequence in context: A015859 A022427 A061868 * A168060 A306076 A069124
KEYWORD
nonn,easy,base
STATUS
approved