OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[First[IntegerDigits[Prime[n]]], {n, 1, 120}]
PROG
(Magma) [Intseq(p)[#Intseq(p)]: p in PrimesUpTo(600)]; // Bruno Berselli, Feb 14 2013
(PARI) a(n) = digits(prime(n))[1]; \\ Michel Marcus, Feb 11 2017
(Python)
from sympy import prime
def A077648(n): return int(str(prime(n))[0]) # Chai Wah Wu, Oct 16 2024
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 19 2002
STATUS
approved