The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A087429 a(n) = 1 if gpf(n) < gpf(n+1), otherwise 0, where gpf = A006530 (greatest prime factor). 4
1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Equivalently, a(n) = 1 iff A061395(n+1) > A061395(n), otherwise a(n) = 0. - Giovanni Teofilatto, Jan 03 2008
LINKS
FORMULA
a(n) = A057427(1+A057427(A070221(n))).
a(p-1)=1 and a(p)=0 for primes p.
a(A070089(n)) = 1, a(A070087(n)) = 0, a(A087430(n)) = 0.
MATHEMATICA
Join[{1}, Table[If[PrimePi[FactorInteger[n + 1][[ -1, 1]]] > PrimePi[FactorInteger[n][[ -1, 1]]], 1, 0], {n, 2, 90}]] (* Stefan Steinerberger, Jan 06 2008 *)
If[#[[1]]<#[[2]], 1, 0]&/@Partition[FactorInteger[#][[-1, 1]]&/@Range[120], 2, 1] (* Harvey P. Dale, Nov 19 2023 *)
CROSSREFS
Characteristic function of A070089.
Sequence in context: A347950 A105470 A359824 * A093075 A104120 A254634
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Sep 02 2003
EXTENSIONS
Edited by N. J. A. Sloane, Jul 01 2008, at the suggestion of R. J. Mathar
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 May 23 09:54 EDT 2024. Contains 372760 sequences. (Running on oeis4.)