OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A007094(prime(n)). - Michel Marcus, Sep 03 2016
MATHEMATICA
FromDigits/@IntegerDigits[Prime[Range[50]], 8] (* Vincenzo Librandi, Sep 03 2016 *)
PROG
(PARI) a(n)=subst(Pol(digits(prime(n), 8)), 'x, 10) \\ Charles R Greathouse IV, Nov 06 2013
(PARI) vector(60, n, fromdigits(digits(prime(n), 8))) \\ G. C. Greubel, Oct 10 2018
(Magma) [Seqint(Intseq(NthPrime(n), 8)): n in [1..60]]; // G. C. Greubel, Oct 10 2018
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
STATUS
approved