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!)
A334090 a(1) = 0, and then after the first differences of A064097. 5
0, 1, 1, 0, 1, 0, 1, -1, 1, 0, 1, -1, 1, 0, 0, -1, 1, 0, 1, -1, 1, 0, 1, -2, 1, 0, 0, 0, 1, -1, 1, -2, 2, -1, 1, -1, 1, 0, 0, -1, 1, 0, 1, -1, 0, 1, 1, -3, 2, -1, 0, 0, 1, -1, 1, -1, 1, 0, 1, -2, 1, 0, 0, -2, 2, 0, 1, -2, 2, -1, 1, -2, 1, 0, 0, 0, 1, -1, 1, -2, 1, 0, 1, -1, 0, 1, 0, -1, 1, -1, 1, 0, 0, 1, -1, -2, 1, 1, 0, -1, 1, -1, 1, -1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,24

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..65537

FORMULA

a(1) = 0, and for n > 1, a(n) = A064097(n) - A064097(n-1).

a(n) = A334091(n) + A334195(n).

PROG

(PARI)

A064097(n) = if(1==n, 0, 1+A064097(n-(n/vecmin(factor(n)[, 1]))));

A334090(n) = if(1==n, 0, A064097(n)-A064097(n-1));

CROSSREFS

Cf. A064097, A334091, A334195.

Cf. A334197 (positions of records).

Cf. also A332903.

Sequence in context: A143111 A328361 A301367 * A179195 A238386 A064662

Adjacent sequences:  A334087 A334088 A334089 * A334091 A334092 A334093

KEYWORD

sign

AUTHOR

Antti Karttunen, Apr 17 2020

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 4 17:55 EDT 2021. Contains 346455 sequences. (Running on oeis4.)