login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A271239 Numbers n such that n is divisible by the median of its digits. 1
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 18, 20, 21, 22, 24, 27, 30, 33, 36, 40, 42, 44, 45, 48, 50, 51, 54, 55, 60, 63, 66, 70, 72, 77, 80, 81, 84, 88, 90, 99, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The first cases that are prime numbers :

a(2)=2;

a(3)=3;

a(5)=5;

a(7)=7;

a(11)=11;

a(44)=101;

a(46)=103;

a(50)=107.

The first difference from A180477 is that n = 100 is in that sequence but not here.

LINKS

Indranil Ghosh, Table of n, a(n) for n = 1..10000

EXAMPLE

72 is a member because the median of its digits (7, 2) is 9/2 and 72 is divisible by 9/2 (i.e., the ratio 72/(9/2) is an integer).

MATHEMATICA

Select[Range[500], Quiet@ Divisible[#, Median@ IntegerDigits@ #] &] (* Giovanni Resta, Apr 08 2016 *)

CROSSREFS

Cf. A061384, A180477.

Sequence in context: A238368 A263808 A180477 * A083970 A246088 A071204

Adjacent sequences:  A271236 A271237 A271238 * A271240 A271241 A271242

KEYWORD

nonn,base,easy

AUTHOR

José de Jesús Camacho Medina, Apr 02 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 28 05:33 EDT 2020. Contains 337392 sequences. (Running on oeis4.)