OFFSET
1,3
EXAMPLE
MATHEMATICA
d[0] = d[1] = 0; d[n_] := n*Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); Select[Table[n*(n + 1)/2, {n, 0, 50000}], PalindromeQ[d[#]] &] (* Amiram Eldar, Apr 30 2022 *)
PROG
(Magma) tr:=func<m|IsSquare(8*m+1)>; pal:=func<n|Intseq(n) eq Reverse(Intseq(n))>; f:=func<n |n le 1 select 0 else n*(&+[Factorisation(n)[i][2] / Factorisation(n)[i][1]: i in [1..#Factorisation(n)]])>; [n:n in [d*(d+1) div 2:d in [0..150000]]| pal(Floor(f(n)))];
(Python)
from itertools import chain, count, islice
from sympy import factorint
def A353217_gen(): # generator of terms
return chain((0, 1), filter(lambda m:(s:=str(sum((m*e//p for p, e in factorint(m).items()))))[:(t:=(len(s)+1)//2)]==s[:-t-1:-1], (n*(n+1)//2 for n in count(2))))
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Marius A. Burtea, Apr 30 2022
STATUS
approved