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!)
A093510 Transform of the prime sequence by the Rule30 cellular automaton. 7

%I #3 Jun 29 2008 03:00:00

%S 2,3,6,8,9,11,12,14,15,17,18,20,21,23,24,25,29,30,32,33,37,38,39,41,

%T 42,44,45,47,48,49,53,54,55,59,60,62,63,67,68,69,71,72,74,75,79,80,81,

%U 83,84,85,89,90,91,97,98,99,101,102,104,105,107,108,110,111,113,114,115

%N Transform of the prime sequence by the Rule30 cellular automaton.

%C As described in A051006, a monotonic sequence can be mapped into a fractional real. Then the binary digits of that real can be treated (transformed) by an elementary cellular automaton. Taken resulted sequence of binary digits as a fractional real, it can be mapped back into a sequence, as in A092855.

%H Ferenc Adorjan, <a href="http://web.axelero.hu/fadorjan/aronsf.pdf">Binary mapping of monotonic sequences - the Aronson and the CA functions</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/ElementaryCellularAutomaton.html">Elementary Cellular Automaton</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Rule30.html">Rule30 Elementary Cellular Automaton</a>

%o (PARI) {ca_tr(ca,v)= /* Calculates the Cellular Automaton transform of the vector v by the rule ca */

%o local(cav=vector(8),a,r=[],i,j,k,l,po,p=vector(3));

%o a=binary(min(255,ca));k=matsize(a)[2];forstep(i=k,1,- 1,cav[k-i+1]=a[i]);

%o j=0;l=matsize(v)[2];k=v[l];po=1;

%o for(i=1,k+2,j*=2;po=isin(i,v,l,po);j=(j+max(0,sign(po)))% 8;if(cav[j+1],r=concat(r,i)));

%o return(r) /* See the function "isin" at A092875 */}

%Y Cf. A092855, A051006, A093511, A093512, A093513, A093514, A093515, A093516, A093517.

%K easy,nonn

%O 1,1

%A Ferenc Adorjan (fadorjan(AT)freemail.hu)

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 24 13:41 EDT 2024. Contains 371957 sequences. (Running on oeis4.)