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!)
A024647 n written in fractional base 8/5. 2
0, 1, 2, 3, 4, 5, 6, 7, 50, 51, 52, 53, 54, 55, 56, 57, 520, 521, 522, 523, 524, 525, 526, 527, 570, 571, 572, 573, 574, 575, 576, 577, 5240, 5241, 5242, 5243, 5244, 5245, 5246, 5247, 5710, 5711, 5712, 5713, 5714, 5715, 5716, 5717, 5760, 5761, 5762, 5763, 5764, 5765 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
To represent a number in base 8, if a digit exceeds 7, subtract 8 and carry 1. In the fractional base 8/5, subtract 8 and carry 5.
EXAMPLE
The integers 0 through 7 are written with the digits 0 through 7.
Then, since b = 8/5 is written as 10, and 8 is five times 8/5, 8 is 50 in base 8/5, and therefore a(8) = 50.
a(16) = 520, since 5 * (8/5)^2 + 2 * (8/5) = 5 * 64/25 + 2 * 8/5 = 64/5 + 16/5 = 80/5 = 16.
MATHEMATICA
Select[Table[FromDigits[IntegerDigits[n, 8]], {n, 0, 4095}], IntegerQ[FromDigits[IntegerDigits[#], 8/5]] &] (* Alonso del Arte, Aug 05 2019 *)
CROSSREFS
Sequence in context: A084831 A037406 A237344 * A250263 A024648 A004858
KEYWORD
nonn,base
AUTHOR
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 19 06:44 EDT 2024. Contains 371782 sequences. (Running on oeis4.)