login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138257
Smallest positive integer m such that n divides [4^m/m] (=A129794(m)).
8
1, 1, 3, 1, 7, 5, 3, 2, 7, 7, 6, 5, 7, 13, 7, 4, 5, 7, 9, 7, 3, 6, 10, 22, 11, 7, 19, 13, 15, 7, 6, 4, 31, 5, 13, 7, 19, 20, 7, 22, 11, 13, 15, 31, 7, 24, 10, 69, 43, 11, 5, 7, 44, 19, 31, 26, 9, 15, 42, 7, 31, 6, 13, 4, 7, 31, 69, 5, 67, 13, 124, 26, 9, 19, 11, 20, 31, 7, 18, 69, 28, 11, 126
OFFSET
1,3
COMMENTS
This sequence is well-defined.
LINKS
Romanian Master in Mathematics Contest, Problem 3, Bucharest, 2007.
MATHEMATICA
spi[n_]:=Module[{m=1}, While[!Divisible[Floor[4^m/m], n], m++]; m]; Array[ spi, 90] (* Harvey P. Dale, Sep 13 2020 *)
KEYWORD
nonn
AUTHOR
Max Alekseyev, Mar 09 2008.
STATUS
approved