login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A345663 Numbers k such that A001414(k) is divisible by A007953(k). 1
1, 2, 3, 4, 5, 7, 10, 27, 32, 42, 60, 70, 91, 100, 110, 114, 115, 124, 130, 132, 143, 154, 170, 182, 185, 188, 200, 204, 215, 220, 221, 222, 230, 232, 238, 242, 266, 276, 295, 308, 315, 326, 338, 342, 378, 402, 437, 450, 472, 485, 494, 532, 540, 555, 572, 576, 583, 588, 612, 620, 624, 636, 648 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
a(10) = 42 is a term because A001414(42) = 2+3+7 = 12 is divisible by A007953(42) = 4+2 = 6.
MAPLE
filter:= proc(n) local t;
add(t[1]*t[2], t=ifactors(n)[2]) mod convert(convert(n, base, 10), `+`) = 0
end proc:
select(filter, [$1..1000]);
MATHEMATICA
Select[Range[650], Divisible[Plus @@ Times @@@ FactorInteger[#], Plus @@ IntegerDigits[#]] &] (* Amiram Eldar, Jun 21 2021 *)
PROG
(PARI) sopfr(n) = my(f=factor(n)); sum(k=1, #f~, f[k, 1]*f[k, 2]);
isok(k) = !(sopfr(k) % sumdigits(k)); \\ Michel Marcus, Jun 24 2021
CROSSREFS
Sequence in context: A212463 A130080 A057496 * A191864 A180348 A001729
KEYWORD
nonn,base
AUTHOR
J. M. Bergot and Robert Israel, Jun 21 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 21 20:59 EDT 2024. Contains 374475 sequences. (Running on oeis4.)