This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A304097 Restricted growth sequence transform of A278222(A302853(n)). 3
 1, 2, 3, 2, 3, 2, 3, 2, 4, 5, 4, 6, 7, 2, 4, 5, 4, 5, 4, 6, 3, 5, 8, 5, 9, 4, 6, 7, 5, 10, 11, 10, 12, 2, 4, 5, 4, 5, 4, 5, 4, 11, 13, 11, 10, 14, 4, 11, 13, 11, 13, 11, 10, 5, 13, 15, 13, 16, 11, 10, 14, 13, 12, 17, 12, 2, 4, 11, 4, 5, 4, 5, 3, 5, 10, 6, 7, 9, 3, 5, 13, 5, 8, 5, 10, 6, 10, 14, 7, 16, 11, 13, 14, 13, 18, 2, 4, 5, 4, 5, 4, 5, 4, 11, 13, 11 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,2 LINKS Antti Karttunen, Table of n, a(n) for n = 0..60822 PROG (PARI) \\ Needs also code from A282291 and A302853: write_to_bfile(start_offset, vec, bfilename) = { for(n=1, length(vec), write(bfilename, (n+start_offset)-1, " ", vec[n])); } 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)); write_to_bfile(0, rgs_transform(vector(60823, n, A278222(A302853(n-1)))), "b304097.txt"); CROSSREFS Cf. A278222, A302791, A282291, A302853, A304098. Compare also the scatter-plot to that of A304535. Sequence in context: A023524 A068639 A074070 * A251101 A065067 A086411 Adjacent sequences:  A304094 A304095 A304096 * A304098 A304099 A304100 KEYWORD nonn AUTHOR Antti Karttunen, May 17 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified October 17 11:59 EDT 2019. Contains 328110 sequences. (Running on oeis4.)