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!)
A318835 Restricted growth sequence transform of A318834, product_{d|n, d<n} A019565(A000010(d)). 5
1, 2, 2, 3, 2, 4, 2, 4, 5, 6, 2, 7, 2, 8, 9, 8, 2, 10, 2, 11, 12, 13, 2, 14, 15, 16, 12, 14, 2, 17, 2, 18, 19, 20, 21, 22, 2, 23, 24, 25, 2, 26, 2, 27, 28, 29, 2, 30, 9, 31, 32, 33, 2, 34, 24, 35, 36, 37, 2, 38, 2, 39, 40, 39, 41, 42, 2, 43, 44, 45, 2, 46, 2, 47, 48, 49, 50, 51, 2, 52, 53, 54, 2, 55, 56, 57, 58, 59, 2, 60, 61, 62, 63, 64, 65, 66, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
For all i, j: a(i) = a(j) => A051953(i) = A051953(j).
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; };
A019565(n) = {my(j, v); factorback(Mat(vector(if(n, #n=vecextract(binary(n), "-1..1")), j, [prime(j), n[j]])~))}; \\ From A019565
A318834(n) = { my(m=1); fordiv(n, d, if(d < n, m *= A019565(eulerphi(d)))); m; };
v318835 = rgs_transform(vector(up_to, n, A318834(n)));
A318835(n) = v318835[n];
CROSSREFS
Sequence in context: A324181 A297169 A353565 * A319353 A319343 A300827
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 04 2018
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 April 19 16:52 EDT 2024. Contains 371794 sequences. (Running on oeis4.)