[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!)
A058256 a(n) = A058254(n+1)/A058254(n). 1
2, 2, 3, 5, 1, 4, 3, 11, 7, 1, 1, 1, 1, 23, 13, 29, 1, 1, 1, 1, 1, 41, 1, 2, 5, 17, 53, 3, 1, 1, 1, 1, 1, 37, 1, 1, 3, 83, 43, 89, 1, 19, 2, 7, 1, 1, 1, 113, 1, 1, 1, 1, 5, 4, 131, 67, 1, 1, 1, 47, 73, 1, 31, 1, 79, 1, 1, 173, 1, 1, 179, 61, 1, 1, 191, 97, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(n) = 1 if in prime(n+1)-1 no new prime divisor or new power of a prime appear, like LCM[{1, 2, 4, 6, 10, 12, 16, 22}]= LCM[{1, 2, 4, 6, 10, 12, 16, 22, 28}].
a(n) > 1 if in prime(n+1)-1 new prime divisor(s) or new power(s) of a prime arise, like in A058254(15) compared with A058254(14), where the new prime divisor is 23 only, so a(14)=23. Such sites of increase do not correspond to the natural order of primes and prime-powers like in A054451.
LINKS
FORMULA
a(n) = lcm{i=1..n+1} (prime(i)-1) / lcm{i=1..n} (prime(i)-1).
PROG
(PARI) f(n) = lcm(apply(p->p-1, primes(n))); \\ A058254
a(n) = f(n+1)/f(n); \\ Michel Marcus, Mar 22 2020
CROSSREFS
Sequence in context: A067088 A065519 A329792 * A140183 A280408 A130725
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 06 2000
EXTENSIONS
Offset corrected by Amiram Eldar, Sep 24 2019
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 29 08:01 EDT 2024. Contains 375510 sequences. (Running on oeis4.)