login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Niven numbers in base 3/2: numbers divisible by their sum of digits in fractional base 3/2 (A244040).
17

%I #10 Mar 12 2021 03:34:34

%S 1,2,6,9,14,21,40,42,56,72,84,108,110,120,126,130,143,154,156,162,165,

%T 168,169,176,180,182,189,198,220,225,231,243,252,280,288,297,306,308,

%U 320,322,330,336,348,350,364,390,423,430,432,459,460,462,480,490,504

%N Niven numbers in base 3/2: numbers divisible by their sum of digits in fractional base 3/2 (A244040).

%H Amiram Eldar, <a href="/A342426/b342426.txt">Table of n, a(n) for n = 1..10000</a>

%e 6 is a term since its representation in base 3/2 is 210 and 2 + 1 + 0 = 3 is a divisor of 6.

%e 9 is a term since its representation in base 3/2 is 2100 and 2 + 1 + 0 + 0 = 3 is a divisor of 9.

%t s[0] = 0; s[n_] := s[n] = s[2*Floor[n/3]] + Mod[n, 3]; q[n_] := Divisible[n, s[n]]; Select[Range[500], q]

%Y Cf. A024629, A244040.

%Y Subsequences: A342427, A342428, A342429.

%Y Similar sequences: A005349 (decimal), A049445 (binary), A064150 (ternary), A064438 (quaternary), A064481 (base 5), A118363 (factorial), A328208 (Zeckendorf), A328212 (lazy Fibonacci), A331085 (negaFibonacci), A333426 (primorial), A334308 (base phi), A331728 (negabinary).

%K nonn,base

%O 1,2

%A _Amiram Eldar_, Mar 11 2021