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!)
A292259 Restricted growth sequence transform of A292258; filter constructed from the prime signatures of the sequence [n, floor(n/2), floor(n/4), ..., 1]. 6
1, 2, 2, 3, 4, 5, 4, 6, 7, 8, 9, 10, 8, 8, 8, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 16, 21, 15, 17, 22, 17, 23, 24, 25, 25, 26, 27, 28, 28, 29, 30, 31, 32, 30, 30, 33, 34, 35, 36, 37, 38, 39, 32, 40, 41, 29, 39, 32, 33, 42, 43, 32, 30, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 54, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 65, 66, 62, 67, 61, 62 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..65535

PROG

(PARI)

up_to = 65535

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

v101296 = rgs_transform(vector(up_to, n, A046523(n)));

A101296(n) = v101296[n];

A292258(n) = if(1==n, n, prime(A101296(n)-1) * A292258(n\2));

write_to_bfile(1, rgs_transform(vector(up_to, n, A292258(n))), "b292259.txt");

CROSSREFS

Cf. A292258.

Cf. A078349 (one of the matching sequences).

Sequence in context: A094457 A275495 A022820 * A241397 A331049 A350127

Adjacent sequences:  A292256 A292257 A292258 * A292260 A292261 A292262

KEYWORD

nonn

AUTHOR

Antti Karttunen, Sep 22 2017

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 26 13:09 EST 2022. Contains 350598 sequences. (Running on oeis4.)