A116990 Indices of triangular numbers whose sum of divisors is square.
1, 2, 11, 20, 40, 68, 92, 212, 236, 253, 266, 321, 328, 452, 582, 589, 596, 668, 695, 716, 782, 788, 836, 928, 932, 970, 991, 1012, 1065, 1076, 1173, 1264, 1300, 1336, 1388, 1436, 1490, 1549, 1796, 1854, 1927, 1995, 2159, 2228, 2252, 2468, 2545, 2588
Offset: 1
Examples
a(1) = 1 because sigma(1*2/2) = sigma(1) = 1 = 1^2, a(2) = 2 because sigma(2*3/2) = sigma(3) = 2^2, a(3) = 11 because sigma(11*12/2) = sigma(66) = 144 = 12^2.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..561 from Zak Seidov)
Crossrefs
Programs
-
Maple
with(numtheory): a:=proc(n) if type(sqrt(sigma(n*(n+1)/2)),integer)=true then n else fi end: seq(a(n),n=0..3100); # Emeric Deutsch, Apr 06 2006
-
Mathematica
Flatten@ Position[Accumulate[Range@ 2600], n_ /; IntegerQ@ Sqrt@ DivisorSigma[1, n] == True] (* Michael De Vlieger, Mar 17 2015 *) Select[Range[2600],IntegerQ[Sqrt[DivisorSigma[1,(#(#+1))/2]]]&] (* Harvey P. Dale, Nov 19 2022 *)
-
PARI
for(n=1,1000,if(issquare(sigma(n*(n+1)/2)),print1(n","))) \\ Zak Seidov, Mar 21 2015
Formula
Extensions
More terms from Emeric Deutsch, Apr 06 2006
Incorrect term 0 removed by Michel Marcus, Mar 17 2015
Comments