OFFSET
1,1
MATHEMATICA
c[x_] := FixedPoint[x+PrimePi[ # ]+1&, x] Table[First[IntegerDigits[c[w]]], {w, 1, 128}]
First[IntegerDigits[#]]&/@Complement[Range[150], Prime[Range[ PrimePi[150]]]] (* Harvey P. Dale, Apr 26 2011 *)
PROG
(PARI) lista(nn) = forcomposite(n=1, nn, print1(digits(n)[1], ", ")); \\ Michel Marcus, Dec 13 2017
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Labos Elemer, Nov 19 2002
STATUS
approved