This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A262049 #11 Sep 05 2022 19:32:50 %S A262049 0,2,3,4,5,5,7,6,6,7,11,7,0,9,8,8,0,8,0,9,10,13,0,9,10,2,9,11,0,10,0, %T A262049 10,14,2,12,10,0,2,3,11,0,12,0,15,11,2,0,11,14,12,3,4,0,11,16,13,3,2, %U A262049 0,12,0,2,13,12,5,16,0,4,3,14,0,12,0,2,13 %N A262049 Sum of the palindromic primes dividing n (with repetition). %C A262049 a(p)=0 for primes p which are not in A002385. %C A262049 The first runs of 2, 3 and 4 identical values start at a(5), a(370) and a(2776191), respectively. - _Giovanni Resta_, Sep 09 2015 %F A262049 Let n=product_i p(i)^e(i), then a(n)=sum_{i,p(i) in A002113} e(i)*p(i). %F A262049 a(n) <= A001414(n). %p A262049 A262049 := proc(n) %p A262049 local a,d ; %p A262049 a := 0 ; %p A262049 for d in ifactors(n)[2] do %p A262049 if isA002113(op(1,d)) then %p A262049 a := a+op(1,d)*op(2,d) ; %p A262049 end if; %p A262049 end do: %p A262049 a ; %p A262049 end proc: %p A262049 seq(A262049(n),n=1..120) ; %t A262049 palQ[n_] := Block[{d = IntegerDigits@ n}, d == Reverse@ d]; {0}~Join~ %t A262049 Table[Total@ Select[Flatten[Table[#1, {#2}] & @@@ FactorInteger@ n], palQ], {n, 2, 75}] (* _Michael De Vlieger_, Sep 09 2015 *) %t A262049 Join[{0},Table[Total[Times@@@Select[FactorInteger[n],PalindromeQ[#[[1]]]&]],{n,2,80}]] (* _Harvey P. Dale_, Sep 05 2022 *) %Y A262049 Cf. A002113, A002385. %K A262049 nonn,base %O A262049 1,2 %A A262049 _R. J. Mathar_, Sep 09 2015