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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A317336 a(n) = A317333(n) - 8*n. 5
-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

A.H.M. Smeets, Table of n, a(n) for n = 1..20000

Index entries for sequences obtained by enumerating foldings

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

Cf. A014710, A082410, A317331, A317332, A317333, A317335.

Sequence in context: A010730 A225694 A247191 * A079004 A265311 A192268

Adjacent sequences:  A317333 A317334 A317335 * A317337 A317338 A317339

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 3 05:55 EDT 2020. Contains 336197 sequences. (Running on oeis4.)