login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304025 a(n) is the largest integer that can be written with n digits in base 3/2. 8
2, 5, 8, 14, 23, 35, 53, 80, 122, 185, 278, 419, 629, 944, 1418, 2129, 3194, 4793, 7190, 10787, 16181, 24272, 36410, 54617, 81926, 122891, 184337, 276506, 414761, 622142, 933215, 1399823, 2099735, 3149603, 4724405, 7086608, 10629914 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A070885 is the smallest integer that can be written with n digits in base 3/2.
This sequence represented in base 3/2 is A304024.
LINKS
B. Chen, R. Chen, J. Guo, S. Lee et al., On Base 3/2 and its Sequences, arXiv:1808.04304 [math.NT], 2018.
FORMULA
a(n) = A070885(n+1) - 1.
EXAMPLE
The number 5 in base 3/2 is 22, and the number 6 is 210. Therefore, 5 is the largest integer needing two digits in base 3/2.
PROG
(PARI) first(n) = {my(res = vector(n)); res[1] = 2; for(i = 2, n, res[i] = 3 * res[i-1] / 2 + if(res[i-1] % 2==0, 2, 1/2)); res} \\ David A. Corneth, May 11 2018
CROSSREFS
Sequence in context: A295392 A023674 A281864 * A264395 A139218 A263235
KEYWORD
nonn,base,easy
AUTHOR
Tanya Khovanova and PRIMES STEP Senior group, May 04 2018
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 05:18 EDT 2024. Contains 371964 sequences. (Running on oeis4.)