OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
The product of the self numbers 31 and 75 is the self number 2325, so 2325 is in the sequence.
MATHEMATICA
Block[{nn = 10^4, s}, s = Rest@ Complement[Range@ nn, Union[Table[n + Total@ IntegerDigits@ n, {n, nn}]]]; Select[Range@ nn, Function[n, And[MemberQ[s, n], AnyTrue[Map[{#, n/#} &, Rest@ TakeWhile[Divisors@ n, # <= Sqrt@ n &]], AllTrue[#, MemberQ[s, #] &] &]]]]] (* or *)
Block[{nn = 5000, s}, s = Rest@ Complement[Range@ nn, Union@ Table[n + Total@ IntegerDigits@ n, {n, nn}]]; Select[Union@ Sort@ Map[Times @@ # &@ # &, Tuples[s, {2}]], MemberQ[s, #] &]] (* Michael De Vlieger, Aug 23 2017, after T. D. Noe at A003052 *)
PROG
(PARI) is(n)=if(!is_A003052(n), return(0)); fordiv(n, d, if(d==1, next); if(d^2>n, break); if(is_A003052(d) && is_A003052(n/d), return(1))); 0 \\ Charles R Greathouse IV, Aug 23 2017
(PARI) is_A290574(n)={is_A003052(n) && fordiv(n, d, d^2>n && break; d>1 && is_A003052(d) && is_A003052(n/d) && return(1))} \\ M. F. Hasler, Nov 09 2018
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Peter Weiss, Aug 06 2017
EXTENSIONS
Corrected by Charles R Greathouse IV, Aug 23 2017
STATUS
approved