OFFSET
1,2
COMMENTS
REFERENCES
Karl G. Kröber, "Palindrome, Perioden und Chaoten: 66 Streifzüge durch die palindromischen Gefilde" (1997, Deutsch-Taschenbücher; Bd. 99) ISBN 3-8171-1522-9.
Clifford A. Pickover, A Passion for Mathematics, Wiley, 2005; see p. 71.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
ispali:= proc(n) option remember; local L; L:= convert(n, base, 10); evalb(L = ListTools:-Reverse(L)) end proc:
spf:= proc(n) add(t[1]*t[2], t=ifactors(n)[2]) end proc:
select(t -> ispali(spf(t)), [$0..1000]); # Robert Israel, Nov 20 2020
MATHEMATICA
sopfr[1] = 0; sopfr[n_] := Plus @@ (Times @@@ FactorInteger[n]); aQ[n_] := PalindromeQ[sopfr[n]]; Select[Range[500], aQ] (* Amiram Eldar, Sep 23 2019 *)
PROG
(PARI) sopfr(n) = (n=factor(n))[, 1]~*n[, 2]; \\ A001414
isok(n) = my(d=digits(sopfr(n))); d == Vecrev(d); \\ Michel Marcus, Sep 27 2019
(Magma) [1] cat [k: k in [2..500]| Intseq(a) eq Reverse(Intseq(a)) where a is &+[m[1]*m[2]: m in Factorization(k)]]; // Marius A. Burtea, Sep 27 2019
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Robert Bilinski, Sep 23 2019
STATUS
approved