login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A004574 Expansion of sqrt(7) in base 7. 1
2, 4, 3, 4, 3, 3, 0, 6, 6, 5, 4, 2, 4, 6, 0, 3, 3, 2, 3, 3, 3, 2, 6, 1, 3, 6, 2, 4, 6, 6, 1, 5, 6, 6, 2, 3, 0, 4, 2, 2, 0, 0, 2, 3, 1, 3, 5, 2, 5, 2, 0, 6, 4, 4, 3, 1, 5, 6, 1, 4, 5, 1, 0, 6, 0, 2, 2, 3, 3, 2, 1, 3, 5, 5, 3, 5, 5, 4, 1, 6, 2, 1, 2, 2, 1, 5, 3, 5, 6, 0, 3, 5, 2, 0, 1, 0, 5, 1, 6 (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) = -7*floor(7^(-3/2 + n)) + floor(7^(-1/2 + n)) for n > 0. - Mariusz Iwaniuk, Apr 27 2017

MATHEMATICA

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

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

PROG

(MAGMA) Prune(Reverse(IntegerToSequence(Isqrt(7*7^200), 7))); // Vincenzo Librandi, Apr 28 2017

CROSSREFS

Cf. A010465.

Sequence in context: A278447 A235590 A069655 * A073127 A098604 A274047

Adjacent sequences:  A004571 A004572 A004573 * A004575 A004576 A004577

KEYWORD

nonn,base,cons

AUTHOR

N. J. A. Sloane

EXTENSIONS

Updated by Alois P. Heinz at the suggestion of Kevin Ryde, Feb 19 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 October 15 20:04 EDT 2019. Contains 328037 sequences. (Running on oeis4.)