Annual appeal: Please make a donation to keep the OEIS running! Over 6000 articles have referenced us, often saying "we discovered this result with the help of the OEIS". Other ways to donate

1,1

a(n) < 10 iff prime(n) is in A179336;

a(n) = prime(n) iff prime(n) is in A033274. [Corrected by M. F. Hasler, Aug 27 2012]

R. Zumkeller, Table of n, a(n) for n = 1..10000

(PARI) A179335(n)={my(p=prime(n), m=0, M); for(d=1, n, M=10^d; n=p; until(n<=M || !n\=10, isprime(n%M) & (!m || m>n%M) & m=n%M); m & return(m))} \\ - M. F. Hasler, Aug 27 2012

Cf. A000040, A070024, A019546, A092629, A104250, A019546, A034844, A179336, A193238.

Sequence in context: A194262 A039710 A087173 * A097858 A084408 A257347

Adjacent sequences: A179332 A179333 A179334 * A179336 A179337 A179338

base,nonn

Reinhard Zumkeller, Jul 11 2010

approved