login
A004680
Primes written in base 6.
6
2, 3, 5, 11, 15, 21, 25, 31, 35, 45, 51, 101, 105, 111, 115, 125, 135, 141, 151, 155, 201, 211, 215, 225, 241, 245, 251, 255, 301, 305, 331, 335, 345, 351, 405, 411, 421, 431, 435, 445, 455, 501, 515, 521, 525, 531, 551, 1011, 1015, 1021, 1025, 1035
OFFSET
1,1
LINKS
FORMULA
a(n) = A007092(prime(n)). - Michel Marcus, Sep 03 2016
MATHEMATICA
FromDigits/@IntegerDigits[Prime[Range[50]], 6] (* Vincenzo Librandi, Sep 03 2016 *)
PROG
(PARI) a(n)=subst(Pol(digits(prime(n), 6)), 'x, 10) \\ Charles R Greathouse IV, Nov 06 2013
(PARI) vector(60, n, fromdigits(digits(prime(n), 6))) \\ G. C. Greubel, Oct 10 2018
(Magma) [Seqint(Intseq(NthPrime(n), 6)): n in [1..60]]; // G. C. Greubel, Oct 10 2018
CROSSREFS
Analogs in other bases: A004676 (base 2), A001363 (base 3), A004678 (base 4), A004679 (base 5), A004681 (base 7), A004682 (base 8), A004683 (base 9), A000040 (base 10), A004684 (base 11).
Cf. A007092.
Sequence in context: A331785 A249684 A275913 * A230147 A324855 A316467
KEYWORD
nonn,easy,base
STATUS
approved