OFFSET
1,2
COMMENTS
4*a(n)+1 is the square of an odd number.
All members are congruent to 0 or 2 mod 3.
The sum of the digits of 10^s * (10^s+1) is 2 so there are infinitely many a(n) of the form 3*m + 2.
The sum of the digits of (10^t-1) * 10^t is 9*t. Given that t = z*(9*z + 1), it can be proved that there are infinitely many a(n) in the form of 3*m.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) >= digsum(a(n)).
EXAMPLE
132 is in the sequence because 132 = 11*12 and 1+3+2 = 6 = 2 *3.
2756 is in the sequence because 2756 = 52*53 and 2+7+5+6 = 20 = 4 * 5.
MAPLE
select(t -> issqr(1+4*convert(convert(t, base, 10), `+`)), [seq(i*(i+1), i=0..120)]); # Robert Israel, Jun 09 2025
MATHEMATICA
Select[2 * Accumulate[Range[0, 150]], IntegerQ[Sqrt[4 * DigitSum[#] + 1]] &] (* Amiram Eldar, May 08 2025 *)
PROG
(PARI) apply(x->(x*(x+1)), select(x->issquare(4*sumdigits(x*(x+1))+1), [0..100])) \\ Michel Marcus, May 08 2025
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Huaineng He, May 08 2025
EXTENSIONS
Offset corrected by Robert Israel, Jun 09 2025
STATUS
approved
