OFFSET
1,2
COMMENTS
All primes are terms; nonprime terms are 1, 15, 20, 24, 90, 95, 104, 207, 224, 287, 464, 588, 650, 1023, ...
Equivalently: The m-th oblong number A002378(m) = m(m+1) is a multiple of sigma(m). - M. F. Hasler, Mar 04 2020
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= n -> n^2 + n mod numtheory:-sigma(n) = 0:
select(filter, [$1..300]); # Robert Israel, Apr 12 2020
MATHEMATICA
Select[Range[250], Divisible[# + #^2, DivisorSigma[1, #]] &] (* Amiram Eldar, Feb 26 2020 *)
PROG
(Magma) [1] cat [m: m in [1..251] | -m^2 mod SumOfDivisors(m) eq m];
(PARI) select( {is_A331635(n)=!(n*(n+1)%sigma(n))}, [1..200]) \\ M. F. Hasler, Mar 04 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Feb 26 2020
EXTENSIONS
a(1) = 1 from Amiram Eldar, Feb 26 2020
STATUS
approved