login

Revision History for A124910

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) = least integer j >= 0 such that n = floor((5^j)/(3^k)) for some integer k >= 0.
(history; published version)
#12 by Michael De Vlieger at Fri Mar 15 07:26:30 EDT 2024
STATUS

reviewed

approved

#11 by Joerg Arndt at Fri Mar 15 02:13:16 EDT 2024
STATUS

proposed

reviewed

#10 by Jon E. Schoenfield at Fri Mar 15 00:42:59 EDT 2024
STATUS

editing

proposed

#9 by Jon E. Schoenfield at Fri Mar 15 00:42:48 EDT 2024
NAME

a(n) = least integer j >= 0 such that n =Floor[ floor((5^j)/(3^k)] ) for some integer k >= 0.

EXAMPLE

1 = floor(5^0 / 3^0),

2 = floor(5^2 / 3^2),

3 = floor(5^7 / 3^9),

4 = floor(5^3 / 3^3), ...,

1=[5^0/3^0], 2=[5^2/3^2], 3=[5^7/3^9], 4=[5^3/3^3],..., so j-sequence = (0,2,7,3,...); k-sequence = (0,2,9,3,...).

STATUS

proposed

editing

#8 by Robert Israel at Thu Mar 14 14:59:02 EDT 2024
STATUS

editing

proposed

#7 by Robert Israel at Thu Mar 14 14:58:54 EDT 2024
MAPLE

V:=Vector(N, -1): count:= 0:

if m <= N and V[m] = 0 -1 then V[m]:= j; count:= count+1 fi

STATUS

approved

editing

#6 by OEIS Server at Fri Mar 08 16:06:53 EST 2024
LINKS

Robert Israel, <a href="/A124910/b124910_1.txt">Table of n, a(n) for n = 1..10000</a>

#5 by N. J. A. Sloane at Fri Mar 08 16:06:53 EST 2024
STATUS

proposed

approved

Discussion
Fri Mar 08
16:06
OEIS Server: Installed first b-file as b124910.txt.
#4 by Robert Israel at Fri Mar 08 15:37:05 EST 2024
STATUS

editing

proposed

#3 by Robert Israel at Fri Mar 08 15:37:00 EST 2024
LINKS

Robert Israel, <a href="/A124910/b124910_1.txt">Table of n, a(n) for n = 1..10000</a>

MAPLE

N:= 100: # for a(1) .. a(N)

V:=Vector(N): count:= 0:

for j from 0 while count < N do

x:= 5^j;

k0:= max(0, floor(log[3](x/N)));

x:= x/3^(k0-1);

for k from k0 do

x:= x/3;

if x < 1 then break fi;

m:= floor(x);

if m <= N and V[m] = 0 then V[m]:= j; count:= count+1 fi

od od:

convert(V, list); # Robert Israel, Mar 08 2024

STATUS

approved

editing