OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = floor(sqrt(prime(n))) + n. - Ilya Gutkovskiy, Feb 16 2017
PROG
(Haskell)
a161188 n = a161188_list !! (n-1)
a161188_list = map (+ 1) $ findIndices ((== 1) . a010051) $ tail a089237_list
-- Reinhard Zumkeller, Dec 18 2012
(Python)
from math import isqrt
from sympy import prime
def A161188(n): return n+isqrt(prime(n)) # Chai Wah Wu, Oct 12 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Daniel Tisdale, Jun 06 2009
EXTENSIONS
Edited by N. J. A. Sloane, Jun 07 2009
Extended by Ray Chandler, May 06 2010
STATUS
approved