OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
8 is a member because 2 divides 8, 3 divides 9 (and 4 does not divide 10).
PROG
(PARI) is(n)=my(t); fordiv(n, m, if(m==1, next); if((n+1)%(m+1)==0, if(m==n, return(t)); t=1; if((n+2)%(m+2)==0, return(0)))) \\ Charles R Greathouse IV, Jul 05 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Anne M. Donovan (anned3005(AT)aol.com), May 24 2003
EXTENSIONS
Corrected by T. D. Noe, Oct 25 2006
STATUS
approved