This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A262721 #109 Nov 16 2024 06:30:59 %S A262721 1,11,14,1215,1811,111211,1419,2215,1120,1116,1811,111211,1419,2215, %T A262721 1120,1116,1811,111211,1419,2215,1120,1116,1811,111211,1419,2215,1120, %U A262721 1116,1811,111211,1419,2215,1120,1116,1811,111211,1419,2215,1120,1116 %N A262721 Modified Look and Say sequence: compute sum of digits of previous term, square it, and apply the "Say What You See" process. %C A262721 1. Generated with the help of sequence generated as follows: %C A262721 c(0)=b, c(n)=k-th power of sum of digits of c(n-1). %C A262721 Example: c(0)=1, c(n)=1 for all k hence convergent. %C A262721 Example: c(0)=2, k=2, c(1)=4, c(2)=16, c(3)=49 as (1+6)^2=49. %C A262721 Example: c(0)=3, k=2, c(n)=81 for all n, hence convergent. %C A262721 In fact, for c(0)=3 and any k, a sequence generated by using this method converges. %C A262721 (Methods G, V1 and V2 are explain in Link attached, namely "Generalization of A262721") %C A262721 2. Every sequence generated by c(0)=b and any k, by using G, V1 or V2 has at least two convergent subsequences or in other words sequence generated by method G, V1 or V2 never converges for any b and k. %C A262721 (2.1) For a(0)=1, k=2, and method G has 6 convergent subsequences with initial terms 1, 11, 14 and 1215 and converging to 1811, 111211, 1419, 2215, 1120, or 1116. %C A262721 (2.2) For c(0)=1, k=2, and method V1 has 2 convergent subsequences with initial terms 1, 11, 14, 1215, 1118, 2112 and converging to 1316 and 2112. %C A262721 (2.3) For c(0)=1, k=2, and method V2 has 2 convergent subsequences with initial terms 1, 11, 14, 15125, 1811, 1221 and converging to 1613 and 1221. %C A262721 3. For any b and k, the least 'g-th' term of the sequence generated by methods G, V1 or V2 reaches a point at which one of the convergent subsequence of generated sequence,converges. That is, c(g) will be the converging point of one of the subsequence of generated sequence, but there is no subsequence which converges to the term c(m),m=0,...,g-1,with initial term read as c(0). %C A262721 (3.1) For a(0)=1, k=2, method G we have g=4 with converging point 1811 by refering (2.1). %C A262721 (3.2) For c(0)=1, k=2, method V1 we have g=5, with converging point 2112. %C A262721 (3.3) For c(0)=1, k=2, method V2 we have g=5, with converging point 1221. %C A262721 (3.4) For any b and k, the value of g for methods V1 and V2 is the same. %C A262721 4. For method G, V1 or V2 with c(0)=b and k chosen randomly, the following holds: %C A262721 (I) g<=k*23, for b=1 and for k<=100 %C A262721 (II) g<=k*23*b for k<=100 %C A262721 (III) g<=k*(23^(b+1)) for large values of k. %C A262721 5. In the manner of A083671, sequence become periodic from 5th row with period of 6. %H A262721 Abdul Gaffar Khan, <a href="/A262721/a262721.txt">Generalization of A262721</a> %F A262721 1. a(0) = 1, a(n) = 'frequency' of digits in the square of the sum of digits of a(n-1) followed by 'digit'-indication. %F A262721 2. a(0) = 1, a(n) = A005150(A118881(a(n-1))). Here first deal with the type of operations of A118881 on a(n-1)-th term and then deal with the operation of A005150 on obtained value from A118881(a(n-1)) in last step, instead of following a(n-1) term of A118881 and A118881(a(n-1)) as a member of sequences A118881 and A005150 respectively. %F A262721 a(0) = 1, a(n) = A045918(A118881(a(n-1))). %e A262721 a(0) = 1 has 1 digit, and the sum of digits is 1, and the square of the sum of digits is 1. So a(1) = 11, that is, one times 1. %e A262721 a(1) = 11 has 2 digits, and the sum of digits is 1+1=2 and the square of the sum of digits is 4. So a(2) = 14, that is, one times 4. %e A262721 Since a(2)=14, we compute 1+4=5, 5^2 = 25, where we see one 2 and one 5, so a(3)=1215. %t A262721 A262721[0] := 1; %t A262721 A262721[n_] := %t A262721 A262721[n] = %t A262721 FromDigits[ %t A262721 Flatten[{Length[#], First[#]} & /@ %t A262721 Split[IntegerDigits[ %t A262721 Total[IntegerDigits[A262721[n - 1]]]^2]]]]; Table[ %t A262721 A262721[n], {n, 0, 100}] %o A262721 (PARI) say(n) = {d = digits(n); da = d[1]; na = 1; s = ""; for (k=2, #d, if (d[k] == da, na++, s = concat(s, Str(na, da)); na = 1; da = d[k]);); s = concat(s, Str(na, da)); eval(s);} %o A262721 lista(nn) = {print1(a=1, ", "); for (k=2, nn, a = say(sumdigits(a)^2); print1(a, ", "););} \\ _Michel Marcus_, Sep 29 2015 %Y A262721 Cf. A005150 (Look and Say). %Y A262721 Cf. A118881 (square of sum of digits of n). %Y A262721 Cf. A005151 (Summarize the previous term! (in increasing order)). %Y A262721 Cf. A007890 (Summarize the previous term! (in decreasing order)). %Y A262721 Cf. A045918 (Describe n. Also called the "Say What You See" or "Look and Say" sequence LS(n).) %K A262721 nonn,base,uned %O A262721 0,2 %A A262721 _Abdul Gaffar Khan_, Sep 28 2015