OFFSET
1,1
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[4, 96], CompositeQ] - 1 (* Michael De Vlieger, Dec 10 2020 *)
PROG
(PARI) for(n=2, 100, if(!isprime(n), print1(n-1, ", "))) \\ Derek Orr, Jun 08 2015
(Magma) [n-1: n in [2..120] | not IsPrime(n)]; // Vincenzo Librandi, Jun 09 2015
(Python)
from sympy import composite
def A072668(n): return composite(n)-1 # Chai Wah Wu, Aug 02 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Henry Bottomley, Apr 11 2001
STATUS
approved