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!)
A305813 Restricted growth sequence transform of A305812, a filter sequence constructed from the GF(2)[X]-factorization signatures of the proper divisors of n. 4
1, 2, 2, 3, 2, 4, 2, 5, 3, 5, 2, 6, 2, 4, 5, 7, 2, 8, 2, 9, 4, 4, 2, 10, 11, 4, 12, 6, 2, 10, 2, 13, 4, 14, 5, 15, 2, 4, 4, 16, 2, 17, 2, 6, 18, 12, 2, 19, 3, 20, 14, 6, 2, 21, 5, 10, 4, 12, 2, 22, 2, 4, 6, 23, 5, 24, 2, 25, 12, 26, 2, 27, 2, 4, 28, 6, 4, 29, 2, 30, 31, 4, 2, 32, 33, 12, 12, 10, 2, 34, 4, 35, 4, 4, 5, 36, 2, 8, 8, 37, 2, 38, 2, 10, 39 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
For all i, j:
a(i) = a(j) => A000005(i) = A000005(j).
a(i) = a(j) => A294881(i) = A294881(j).
a(i) = a(j) => A294882(i) = A294882(j).
PROG
(PARI)
\\ Needs also code from A305788:
up_to = 65537;
rgs_transform(invec) = { my(occurrences = Map(), outvec = vector(length(invec)), u=1); for(i=1, length(invec), if(mapisdefined(occurrences, invec[i]), my(pp = mapget(occurrences, invec[i])); outvec[i] = outvec[pp] , mapput(occurrences, invec[i], i); outvec[i] = u; u++ )); outvec; };
A305812(n) = if(1==n, 0, my(m=1); fordiv(n, d, if((d>1)&&(d<n), m *= prime(A305788(d)-1))); (m));
v305813 = rgs_transform(vector(up_to, n, A305812(n)));
A305813(n) = v305813[n];
CROSSREFS
Cf. also A305793.
Sequence in context: A304103 A305983 A370816 * A319355 A129294 A363719
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 11 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 May 13 02:41 EDT 2024. Contains 372497 sequences. (Running on oeis4.)