login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation to keep the OEIS running. In 2018 we replaced the server with a faster one, added 20000 new sequences, and reached 7000 citations (often saying "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304528 Restricted growth sequence transform of A304526, which is Möbius transform of A064664, the inverse of EKG-sequence. 1
1, 1, 2, 1, 3, 4, 5, 6, 1, 4, 7, 8, 9, 4, 10, 3, 11, 12, 13, 14, 10, 4, 15, 2, 16, 4, 17, 18, 19, 20, 21, 16, 10, 4, 8, 20, 22, 4, 10, 23, 24, 25, 26, 27, 9, 4, 28, 29, 13, 25, 10, 7, 30, 29, 31, 32, 10, 4, 33, 32, 34, 4, 35, 36, 23, 37, 38, 11, 10, 36, 39, 31, 40, 4, 41, 42, 43, 41, 44, 25, 45, 4, 46, 9, 15, 4, 10, 36, 47, 48, 49, 41, 10, 4, 50, 11, 51 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

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

Index entries for sequences related to EKG sequence

PROG

(PARI)

\\ Needs also code for A064664 and A304526:

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; };

write_to_bfile(1, rgs_transform(vector(32768, n, A304526(n))), "b304528.txt");

CROSSREFS

Cf. A064664, A304526.

Sequence in context: A101204 A169808 A283069 * A175499 A181440 A035043

Adjacent sequences:  A304525 A304526 A304527 * A304529 A304530 A304531

KEYWORD

nonn

AUTHOR

Antti Karttunen, May 18 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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 11 04:29 EST 2018. Contains 318049 sequences. (Running on oeis4.)