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

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A324646 a(n) = gcd(n, A276086(n-1)). 4
1, 2, 3, 2, 1, 6, 1, 2, 3, 10, 1, 6, 1, 2, 15, 2, 1, 18, 1, 10, 3, 2, 1, 6, 25, 2, 3, 2, 1, 30, 1, 2, 3, 2, 7, 18, 1, 2, 3, 10, 1, 42, 1, 2, 15, 2, 1, 6, 7, 50, 3, 2, 1, 18, 5, 14, 3, 2, 1, 30, 1, 2, 21, 2, 1, 6, 1, 2, 3, 70, 1, 18, 1, 2, 75, 2, 7, 6, 1, 10, 3, 2, 1, 42, 5, 2, 3, 2, 1, 90, 7, 2, 3, 2, 1, 6, 1, 98, 3, 10, 1, 6, 1, 2, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

Index entries for sequences related to primorial base

Index entries for sequences related to primorial numbers

FORMULA

a(n) = gcd(n, A276086(n-1)).

a(A002110(n)) = A002110(n) for all n >= 0.

PROG

(PARI)

A276086(n) = { my(i=0, m=1, pr=1, nextpr); while((n>0), i=i+1; nextpr = prime(i)*pr; if((n%nextpr), m*=(prime(i)^((n%nextpr)/pr)); n-=(n%nextpr)); pr=nextpr); m; };

A324646(n) = gcd(n, A276086(n-1));

CROSSREFS

Cf. A002110, A276086, A324198, A324644.

Sequence in context: A226362 A228549 A079893 * A286156 A113908 A065369

Adjacent sequences:  A324643 A324644 A324645 * A324647 A324648 A324649

KEYWORD

nonn

AUTHOR

Antti Karttunen, Mar 11 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 22 16:37 EST 2020. Contains 331152 sequences. (Running on oeis4.)