[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!)
A305793 revision #3

A305793 Restricted growth sequence transform of A305792, 9
1, 2, 2, 3, 2, 4, 2, 5, 6, 7, 2, 8, 2, 9, 10, 11, 2, 12, 2, 13, 14, 15, 2, 16, 17, 15, 10, 18, 2, 19, 2, 20, 21, 7, 22, 23, 2, 15, 21, 24, 2, 25, 2, 26, 27, 28, 2, 29, 30, 31, 10, 26, 2, 32, 33, 34, 21, 28, 2, 35, 2, 36, 37, 38, 33, 39, 2, 13, 40, 41, 2, 42, 2, 43, 44, 26, 45, 46, 2, 47, 48, 43, 2, 49, 50, 51, 40, 52, 2, 53, 45, 54, 55, 56, 33, 57, 2, 58, 59 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI)
up_to = 65537;
rgs_transform(invec) = { my(om = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(om, invec[i]), my(pp = mapget(om, invec[i])); outvec[i] = outvec[pp] , mapput(om, invec[i], i); outvec[i] = u; u++ )); outvec; };
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t };
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ From A046523
A278222(n) = A046523(A005940(1+n));
v286622 = rgs_transform(vector(1+up_to, n, A278222(n-1)));
A286622(n) = v286622[1+n];
A305792(n) = { my(m=1); fordiv(n, d, if(d<n, m *= prime(A286622(d)-1))); (m); };
v305793 = rgs_transform(vector(up_to, n, A305792(n)));
A305793(n) = v305793[n];
CROSSREFS
Cf. also A293215, A300833, A304103.
Sequence in context: A328767 A319682 A329353 * A300245 A346488 A374479
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 11 2018
STATUS
editing

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 30 19:17 EDT 2024. Contains 375545 sequences. (Running on oeis4.)