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!)
A317336 a(n) = A317333(n) - 8*n. 6
-7, -10, -10, -7, -10, -10, -7, -7, -10, -10, -10, -7, -7, -10, -7, -7, -10, -10, -10, -7, -10, -10, -7, -7, -7, -10, -10, -7, -7, -10, -7, -7, -10, -10, -10, -7, -10, -10, -7, -7, -10, -10, -10, -7, -7, -10, -7, -7, -7, -10, -10, -7, -10, -10, -7, -7, -7, -10, -10, -7, -7, -10, -7, -7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(4*n+4) = -7, a(4*n+2) = -10, for n > 0. a(1) = -7 and a(2*n-1) = a(n) for n > 1.
abs(a(n+2)+8) = A014710(n) for n >= 0.
a(n) = -7-3*A082410(n)
PROG
(Python)
n, f, i, p, q = 1, 1, 0, 0, 1
while i < 1000000:
i, p, q = i + 1, p * 10, q * 10
if i == f:
p, n = p + 1, n + 1
f = f * n
n, a, j = 0, 0, 0
while p % q > 0:
a, f, p, q = a + 1, p // q, q, p % q
if f == 9:
n = n + 1
print(n, a - 1 - 8 * n)
CROSSREFS
Sequence in context: A010730 A225694 A247191 * A079004 A265311 A192268
KEYWORD
sign
AUTHOR
A.H.M. Smeets, Jul 26 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 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)