1,1

Not defined for n>9.

Table of n, a(n) for n=1..9.

a(1)=3 since 3 in base 1 ('unary') is 111 and 111 can be divided by 3. a(3)=7 since 7 in base 3 is 21 and 21 can be divided by 3. Trivial solutions (m<n) do not count.

Cf. A032551, A032551, A032532.

Sequence in context: A101224 A229120 A255067 * A080398 A082321 A057502

Adjacent sequences: A139282 A139283 A139284 * A139286 A139287 A139288

base,fini,full,nonn

Sergio Pimentel, Jun 06 2008

a(9) corrected by Giovanni Resta, Nov 02 2017

approved