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!)
A300224 Filter sequence combining A046523(n) and A296078(n), prime signature of n and prime signature of phi(n)+1. 4
1, 2, 2, 3, 2, 4, 2, 5, 3, 4, 2, 6, 2, 4, 7, 8, 2, 6, 2, 9, 4, 4, 2, 10, 11, 4, 5, 6, 2, 12, 2, 13, 14, 4, 7, 15, 2, 4, 7, 16, 2, 17, 2, 18, 9, 4, 2, 19, 3, 18, 14, 9, 2, 16, 4, 10, 4, 4, 2, 20, 2, 4, 6, 21, 7, 22, 2, 18, 23, 12, 2, 24, 2, 4, 6, 6, 4, 12, 2, 25, 26, 4, 2, 27, 14, 4, 14, 16, 2, 27, 4, 28, 4, 4, 4, 29, 2, 6, 6, 15, 2, 22, 2, 10, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Restricted growth sequence transform of P(A046523(n), A296078(n)), where P(a,b) is a two-argument form of A000027 used as a Cantor pairing function N x N -> N.
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; };
write_to_bfile(start_offset, vec, bfilename) = { for(n=1, length(vec), write(bfilename, (n+start_offset)-1, " ", vec[n])); }
A046523(n) = { my(f=vecsort(factor(n)[, 2], , 4), p); prod(i=1, #f, (p=nextprime(p+1))^f[i]); }; \\ This function from Charles R Greathouse IV, Aug 17 2011
A296078(n) = A046523(1+eulerphi(n));
Aux300224(n) = (1/2)*(2 + ((A296078(n)+A046523(n))^2) - A296078(n) - 3*A046523(n));
write_to_bfile(1, rgs_transform(vector(up_to, n, Aux300224(n))), "b300224.txt");
CROSSREFS
Sequence in context: A237433 A236515 A318469 * A304103 A305983 A370816
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 01 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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)