OFFSET
0,6
FORMULA
a(n) = n - A104103(n). - Michel Marcus, Jul 30 2022
MATHEMATICA
Table[n - Ceiling[ Sqrt[ Prime[ n]]], {n, 75}] (* Robert G. Wilson v, Mar 24 2005 *)
PROG
(Python)
from math import isqrt
from sympy import prime
def A103416(n): return n-isqrt(prime(n+1)) # Chai Wah Wu, Jul 29 2022
CROSSREFS
KEYWORD
sign
AUTHOR
Giovanni Teofilatto, Mar 21 2005
EXTENSIONS
More terms from Robert G. Wilson v, Mar 24 2005
STATUS
approved