login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004583 Expansion of sqrt(8) in base 8. 1
2, 6, 5, 0, 1, 1, 7, 1, 4, 6, 3, 7, 6, 3, 5, 7, 1, 4, 4, 4, 1, 0, 5, 4, 5, 7, 5, 4, 2, 3, 3, 1, 5, 6, 5, 2, 2, 5, 3, 7, 2, 3, 7, 0, 7, 2, 6, 7, 5, 4, 0, 5, 6, 5, 0, 4, 4, 7, 3, 5, 2, 0, 4, 6, 3, 5, 5, 0, 5, 7, 2, 6, 2, 0, 5, 4, 0, 6, 3, 1, 6, 3, 1, 0, 5, 2, 4, 5, 3, 7, 4, 4, 0, 6, 0, 2, 0, 7, 2, 5, 6, 1 (list; constant; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..10000 (terms 1..2000 from Vincenzo Librandi)

Jason Kimberley, Index of expansions of sqrt(d) in base b

FORMULA

a(n) = -8*floor(8^(-3/2 + n)) + floor(8^(-1/2 + n)) for n > 0. - Mariusz Iwaniuk, Apr 27 2017

MATHEMATICA

Table[-8 Floor[8^(-3/2 + n)] + Floor[8^(-1/2 + n)], {n, 100}] (* Vincenzo Librandi, Apr 28 2017

RealDigits[Sqrt[8], 8, 100][[1]] (* G. C. Greubel, Mar 25 2018 *)

PROG

(MAGMA) Prune(Reverse(IntegerToSequence(Isqrt(8*8^204), 8))); // Jason Kimberley, Feb 2012

CROSSREFS

Cf. A010466.

Sequence in context: A306585 A118138 A240023 * A175995 A271533 A335995

Adjacent sequences:  A004580 A004581 A004582 * A004584 A004585 A004586

KEYWORD

nonn,base,cons,easy

AUTHOR

N. J. A. Sloane

EXTENSIONS

More terms from Jason Kimberley, Feb 2012

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 1 06:09 EST 2020. Contains 338833 sequences. (Running on oeis4.)