The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A175758 Numbers n with property that arithmetic mean of its digits is both an integer and one of the prime factors of n. 1
2, 3, 5, 7, 15, 22, 24, 33, 40, 42, 51, 55, 60, 77, 108, 114, 117, 126, 132, 135, 144, 150, 153, 162, 171, 180, 195, 204, 207, 216, 222, 225, 234, 240, 243, 252, 261, 270, 285, 306, 312, 315, 324, 330, 333, 342, 351, 360, 375, 399, 402, 405, 414, 420, 423, 432 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
15 is in the list because (1+5)/2=3 and 3 is a prime factor of 15.
MATHEMATICA
ipfQ[n_]:=Module[{m=Mean[IntegerDigits[n]]}, IntegerQ[m]&&MemberQ[ FactorInteger[ n][[All, 1]], m]]; Select[Range[2, 500], ipfQ] (* Harvey P. Dale, Feb 15 2020 *)
CROSSREFS
Sequence in context: A331037 A228652 A157833 * A151531 A335203 A079987
KEYWORD
nonn,base
AUTHOR
Juri-Stepan Gerasimov, Aug 28 2010, Aug 29 2010
EXTENSIONS
399 inserted by D. S. McNeil, Sep 27 2010
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 June 4 22:04 EDT 2024. Contains 373102 sequences. (Running on oeis4.)