[go: up one dir, main page]

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!)
A165669 First digit of the decimal expansion of (n^2+2)/7 after the decimal point. 0
2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4, 2, 4, 8, 5, 5, 8, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Periodic with period length 7.
LINKS
FORMULA
a(n) = floor(10*(n^2+2)/7) mod 10. [R. J. Mathar, Sep 23 2009]
EXAMPLE
For n=0, (0^2+2)/7=0.285.... and 2 is the first digit after the point.
For n=1, (1^2+2)/7=0.4285..., and 4 is the first digit after the point.
MATHEMATICA
Table[Mod[Floor[10*N[(n^2+2)/7]], 10], {n, 0, 110}] (* Harvey P. Dale, Jul 05 2015 *)
CROSSREFS
Cf. A165664.
Sequence in context: A364611 A092892 A146079 * A227818 A300890 A021893
KEYWORD
nonn,base,easy,less
AUTHOR
Vincenzo Librandi, Sep 24 2009
EXTENSIONS
Edited by R. J. Mathar, Sep 26 2009
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 August 30 10:14 EDT 2024. Contains 375532 sequences. (Running on oeis4.)