OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10046
EXAMPLE
22 = 2*11 is the 4th pentagonal number and is a deficient number, since it is larger than the sum of its proper divisors (14).
117 = 3^2*13 is the 9th pentagonal number and is a deficient number, since it is larger than the sum of its proper divisors (65).
1001 = 7*11*13 is the 26th pentagonal number and is a deficient number, since it is larger than the sum of its proper divisors (343).
MATHEMATICA
Select[Table[n*(3*n-1)/2, {n, 1, 75}], DivisorSigma[-1, #] < 2 &] (* Amiram Eldar, Feb 25 2025 *)
PROG
(PARI) select(x->sigma(x)<2*x, vector(100, k, k*(3*k-1)/2)) \\ Michel Marcus, Feb 25 2025
(Magma) filtered := [n*(3*n-1) div 2 : n in [1..80] | &+ [1/d : d in Divisors(n*(3*n-1) div 2)] lt 2]; filtered; // Vincenzo Librandi, Mar 03 2025
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Massimo Kofler, Feb 25 2025
STATUS
approved