cp's OEIS Frontend

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.

Previous Showing 11-20 of 32 results. Next

A075421 Trajectory of n under the Reverse and Add! operation carried out in base 4 (presumably) does not reach a palindrome and (presumably) does not join the trajectory of any term m < n.

Original entry on oeis.org

290, 318, 719, 795, 799, 1210, 3903, 4199, 4207, 4219, 4236, 4278, 4279, 4294, 4326, 4333, 4334, 4338, 4402, 4598, 4662, 4726, 5046, 5357, 6157, 6174, 7246, 7247, 7295, 7407, 7549, 8063, 8191, 9211, 12319, 12431, 12463, 12539, 15487, 16519, 16587
Offset: 1

Views

Author

Klaus Brockhaus, Sep 18 2002, revised Jan 28 2004

Keywords

Comments

For 318 (cf. A075153), 266718 (cf. A075466) and 270798 (cf. A075467) one can prove that the base 4 trajectory does not contain a palindrome. A proof for 290 (cf. A075299) has not been found up to now. 4398859679359 is another known candidate (obtained from a remark of David J. Seal, cf. Links) for a term whose trajectory is provably palindrome-free, but is not secured that it does not join the trajectory of some term m < n. - If the trajectory of an integer k joins the trajectory of a smaller integer which is a term of the present sequence, then this occurs after very few Reverse and Add! steps (at most 28 for k < 20000). On the other hand, the trajectories of the terms listed above do not join the trajectory of any smaller term within at least 1000 steps.
Base-4 analog of A063048 (base 10) and A075252 (base 2); subsequence of A075420.
From A.H.M. Smeets, Mar 18 2019: (Start)
David J. Seal (see LINKS) observed a cyclic pattern (length 6) in the trajectories that can be represented by an extended right regular grammar with production rules:
S -> S_a | S_b | S_c | S_d | S_e | S_f,
S_a -> 1033202000232 T_a, T_a -> 222 T_a | 2302333113230
S_b -> 2022321332331 T_b, T_b -> 111 T_b | 1223001203131
S_c -> 10002003002212 T_c, T_c -> 222 T_c | 3221333101333
S_d -> 103312202321111 T_d, T_d -> 111 T_d | 1102023122000
S_e -> 110200123122222 T_e, T_e -> 222 T_e | 2231232001301
S_f -> 213301021321111 T_f, T_f -> 111 T_f | 1113213003312
Within the first 471 terms of this sequence we observed three trajectories with a cyclic pattern (length 6) that can be represented by a context-free grammar with production rules:
S -> S_a | S_b | S_c | S_d | S_e | S_f,
S_a -> 10 T_a 00, T_a -> 3 T_a 0 | T_a0,
S_b -> 11 T_b 01, T_b -> 0 T_b 3 | T_b0,
S_c -> 22 T_c 12, T_c -> 0 T_c 3 | T_c0,
S_d -> 10 T_d 000, T_d -> 3 T_d 0 | T_d0,
S_e -> 11 T_e 301, T_e -> 0 T_e 3 | T_e0,
S_f -> 22 T_f 312, T_f -> 0 T_f 3 | T_f0.
The terminating strings in these context-free grammars are given by:
n 2 359 371
a(n) 318 266718 270798
T_a0 33230 33230000001033230 3323001033230
T_b0 03123 03123010001103123 0312302103123
T_c0 01313 01313120002201313 0131320201313
T_d0 33323 33323000001033323 3332300103323
T_e0 03222 03222301001103222 0322201113222
T_f0 02111 02111312002202111 0211112222111
From the fact that both, right regular grammars and context-free grammars occur, we wonder if other trajectories can be represented by context-sensitive grammars as well, by which other trajectories can be proven never to end up in a palindromic string? (End)

Examples

			719 is a term since the trajectory of 719 (presumably) does not lead to an integer which occurs in the trajectory of 290 or of 318.
		

Crossrefs

Programs

  • Mathematica
    limit = 10^3; (* Assumes that there is no palindrome if none is found before "limit" iterations *)
    utraj = {};
    Select[Range[0, 17000], (x = NestWhileList[# + IntegerReverse[#, 4] &, #, # !=IntegerReverse[#, 4] & , 1, limit];
       If[Length[x] >= limit  && Intersection[x, utraj] == {},
        utraj = Union[utraj, x]; True,
    utraj = Union[utraj, x]]) &] (* Robert Price, Oct 16 2019 *)

A077594 Smallest number whose Reverse and Add! trajectory (presumably) contains exactly n palindromes, or -1 if there is no such number.

Original entry on oeis.org

196, 89, 49, 18, 9, 14, 7, 6, 3, 4, 2, 1, 10000, -1, -1, -1, -1, -1, -1, -1, -1
Offset: 0

Views

Author

Klaus Brockhaus, Nov 08 2002

Keywords

Comments

Conjecture 1: For each k > 0 the trajectory of k eventually leads to a term in the trajectory of some j which belongs to A063048, i.e. whose trajectory (presumably) never leads to a palindrome. Conjecture 2: There is no k > 0 such that the trajectory of k contains more than twelve palindromes, i.e. a(n) = -1 for n > 12.

Examples

			a(9) = 4 since the trajectory of 4 contains the nine palindromes 4, 8, 77, 1111, 2222, 4444, 8888, 661166, 3654563 and at 7309126 joins the trajectory of 10577 = A063048(6) and no m < 4 contains exactly nine palindromes.
		

Crossrefs

A088753 Numbers k such that the Reverse and Add! trajectory of k (presumably) does not reach a palindrome (with the exception of k itself) and does not join the trajectory of any term m < k.

Original entry on oeis.org

196, 879, 1997, 7059, 9999, 10553, 10563, 10577, 10583, 10585, 10638, 10663, 10668, 10697, 10715, 10728, 10735, 10746, 10748, 10783, 10785, 10787, 10788, 10877, 10883, 10963, 10965, 10969, 10977, 10983, 10985, 12797, 12898, 13097, 13197, 13694, 14096, 14698, 15297, 15597, 18598, 18798
Offset: 1

Views

Author

Klaus Brockhaus, Nov 04 2003

Keywords

Comments

Although the starting number k is regarded as part of the trajectory, it is allowed to be palindromic. Hence palindromes are not excluded from the sequence. A063048 is obtained if palindromes are excluded. The smallest term in A088753 but not in A063048 is 9999, the smallest term in A063048 but not in A088753 is 19098.
W. VanLandingham and others have computed nearly 10^7 terms (all terms < 10^14), cf. W. VanLandingham, 196 and Other Lychrel Numbers.
From M. F. Hasler, Apr 13 2019: (Start)
Lychrel numbers listed here are also called "seeds", in contrast to Kin numbers A023108 which include all terms in the orbits of the former.
It is not easy to determine whether the orbit of a given term will never merge into the orbit of an earlier term. It seems that the property of "disjoint orbit" is as conjectural as the property of not reaching a palindrome. One could specify a "search limit" in order to get a well-defined sequence. The given list of terms has been checked and extended by considering the orbits up to members of size <= 10^199 at least. Given that the number increases by a factor 10 roughly every 2.416 iterations, this corresponds to about 500 iterations. (End)

Examples

			From _M. F. Hasler_, Apr 13 2019: (Start)
All numbers < 196 quickly reach a palindrome under iterations of the reverse-and-add function A056964, cf. A033665.
a(1) = 196 is the smallest integer which appears to never reach a palindrome (checked up to 10^9 iterations!).
Next, A056964(196) = 196 + 691 = 887 is in the orbit of 196 and will therefore never reach a palindrome if 196 does not. However, we do not list this term in this sequence because it is in the orbit of the smaller term 196.
Similarly, 295 + 592 = 887 = A056964(196). Therefore, 295 will also never reach a palindrome if 196 (and therefore 887) doesn't. But again we will not list this number, because its orbit merges into that of the smaller term 196.
The next number which appears to be a Lychrel and has an orbit (conjectured to be) disjoint with that of 196 is 897 = a(2). (End)
		

Crossrefs

Cf. A063048 (variant excluding palindromes), A023108 (Kin numbers), A056964 (reverse-and-add), A006960 (orbit of 196), A033665 (steps to reach a palindrome), A061563 (terminating palindrome of n's orbit), A002113 (palindromes).

Programs

  • Mathematica
    limit = 10^3; (* Assumes that there is no palindrome if none is found before "limit" iterations *)
    utraj = {};
    Select[Range[0,
      20000], (np = # + IntegerReverse[#];
       x = NestWhileList[ # + IntegerReverse[#] &, np, ! PalindromeQ[#] &, 1, limit];
       If[Length[x] >= limit  && Intersection[x, utraj] == {},
        utraj = Union[utraj, x, {np}]; True,
    utraj = Union[utraj, x, {np}]]) &] (* Robert Price, Oct 16 2019 *)
  • PARI
    A088753_upto(LIM=2e4,M=1e199)={my(U=[],a=List());for(n=1,LIM, my(t=n); while( tA002113(t=A056964(t)) && next(2)); setsearch(U,t) && next; U=setunion(U,[t]); print1(n","); listput(a,n)); Set(a)} \\ M. F. Hasler, Apr 13 2019

Extensions

Edited by M. F. Hasler, Apr 13 2019

A077405 Trajectory of n under the Reverse and Add! operation carried out in base 3 (presumably) does not reach a palindrome and (presumably) does not join the trajectory of any term m < n.

Original entry on oeis.org

103, 746, 805, 2231, 2326, 2671, 2725, 2959, 2969, 3679, 4421, 4430, 4439, 4448, 5894, 6626, 6638, 6686, 6698, 6733, 6741, 6779, 6789, 6793, 6943, 7124, 7365, 7849, 8093, 8801, 8836, 10771, 11078, 11158, 13184, 13361, 17558, 17639, 19115, 19196, 19733, 19895, 19901, 19907, 20106, 20124, 20149, 20161
Offset: 1

Views

Author

Klaus Brockhaus, Nov 05 2002

Keywords

Comments

Base 3 analog of A075252 (base 2), A075421 (base 4) and A063048 (base 10); subsequence of A077404. - A proof that the base 3 trajectory does not contain a palindrome has been found up to now for none of the terms. - If the trajectory of an integer k joins the trajectory of a smaller integer which is a term of the present sequence, then this occurs after very few Reverse and Add! steps (at most 9 for k < 20000). On the other hand, the trajectories of the terms of this sequence do not join the trajectory of any smaller term within at least 1000 steps.

Examples

			805 is a term since the trajectory of 805 (presumably) does not lead to a number which occurs in the trajectory of 103 or of 746.
		

Crossrefs

Programs

  • Mathematica
    limit = 10^3; (* Assumes that there is no palindrome if none is found before "limit" iterations *)
    utraj = {};
    Select[Range[0,21000], (i = 0;
       x = NestWhileList[(i++; # + IntegerReverse[#, 3]) &, #, # !=
            IntegerReverse[#, 3] && i < limit  &];
       If[i >= limit  && Intersection[x, utraj] == {},
        utraj = Union[utraj, x]; True,
        utraj = Union[utraj, x]]) &]
    (* Robert Price, Oct 19 2019 *)

Extensions

Offset changed to 1 by A.H.M. Smeets, Feb 14 2019
a(41)-a(48) from A.H.M. Smeets, Feb 18 2019

A089494 a(n) = smallest non-palindromic k such that the Reverse and Add! trajectory of k is palindrome-free and joins the trajectory of A070788(n).

Original entry on oeis.org

10577, 1000000537869, 100000070637875, 10004697841, 10000671273, 100010097365, 990699, 1997, 19098, 10563, 109918, 10735, 101976, 1060004932996, 100059426, 90379, 10003991597, 100000089687980, 90900469909, 13097, 1005989
Offset: 1

Views

Author

Klaus Brockhaus, Nov 04 2003

Keywords

Comments

a(3), a(14) and a(18) are conjectural; it is not yet ensured that they are minimal.
a(n) >= A070788(n); a(n) = A070788(n) iff the trajectory of A070788(n) is palindrome-free, i.e. A070788(n) is also a term of A063048.
a(n) determines a 1-1-mapping from the terms of A070788 to the terms of A063048, the inverse of the mapping determined by A089493. Terms > 2*10^6 were ascertained with the aid of W. VanLandingham's list of Lychrel numbers.
The 1-1 property of the mapping depends on the conjecture that the Reverse and Add! trajectory of each term of A070788 contains only a finite number of palindromes (cf. A077594). - Klaus Brockhaus, Dec 09 2003

Examples

			A070788(1) = 1, the trajectory of 1 joins the trajectory of 10577 = A063048(7) at 7309126, so a(1) = 10577.
A070788(8) = 106, the trajectory of 106 joins the trajectory of 1997 = A063048(3) at 97768, so a(8) = 1997.
		

Crossrefs

A306596 Trajectory of n under the Reverse and Add! operation carried out in base 8 (presumably) does not reach a palindrome and (presumably) does not join the trajectory of any term m < n.

Original entry on oeis.org

1021, 3623, 4327, 4382, 4404, 4413, 4444, 4500, 4502, 4518, 4522, 4528, 4530, 4575, 4592, 4594, 5117, 5502, 5629, 6270, 7806, 8247, 8607, 12503, 12527, 12535, 16319, 16383, 16815, 20711, 20975, 24751, 25015, 28351, 28415, 28671, 28775, 28791, 33757, 33766, 34254, 34286, 34757, 34781, 35268, 35276
Offset: 1

Views

Author

A.H.M. Smeets, Feb 27 2019

Keywords

Comments

A number is considered here (presumably) a Lychrel number in base 8 if it does not reach a palindrome within 100 steps more than the actual record. For those record numbers of steps, see A306600; for the corresponding record-setting numbers, see A306599. Futhermore, a Lychrel number is considered not to reach the trajectory of any smaller Lychrel number if it does not reach a trajectory of a smaller Lychrel number within 100 steps more than the actual record. For those record number of steps see A306851, and its corresponding record setting numbers, see A306850.
For a(11) = 4522 we obtain a cyclic structure of the terms in its trajectory (starting at the 12th term in the trajectory) which can be represented by the context-free grammar with alphabet = {0,1,2,3,4,5,6,7} and production rules:
S -> S_a | S_b | S_c | S_d | S_e | S_f | S_g | S_h,
S_a -> 10 T_a 00, T_a -> 7 T_a 0 | 777670,
S_b -> 11 T_b 01, T_b -> 0 T_b 7 | 076667,
S_c -> 22 T_c 12, T_c -> 0 T_c 7 | 065557,
S_d -> 44 T_d 34, T_d -> 0 T_d 7 | 043337,
S_e -> 10 T_e 000, T_e -> 7 T_e 0 | 777670,
S_f -> 11 T_f 701, T_f -> 0 T_f 7 | 007567,
S_g -> 22 T_g 712, T_g -> 0 T_g 7 | 006357,
S_h -> 44 T_h 734, T_h -> 0 T_h 7 | 003737;
i.e., the cycle length is 8.
For all other terms up to and including a(649) = 527823, no such structure has been obtained.

Crossrefs

Base-8 analog of A075252 (base 2), A077405 (base 3), A075421 (base 4) and A063048 (base 10).

A090069 Numbers n such that there are (presumably) eight palindromes in the Reverse and Add! trajectory of n.

Original entry on oeis.org

3, 8, 20, 22, 100, 101, 116, 122, 139, 151, 160, 215, 221, 238, 313, 314, 320, 337, 343, 413, 436, 512, 611, 634, 696, 710, 717, 727, 733, 832, 931, 1004, 1011, 1070, 1101, 1160, 1250, 1340, 1430, 1520, 1610, 1700, 1771, 2000, 2002, 2003, 2010, 2100, 2112
Offset: 1

Views

Author

Klaus Brockhaus, Nov 20 2003

Keywords

Comments

For terms <= 5000 each palindrome is reached from the preceding one or from the start in at most 15 steps; after the presumably last one no further palindrome is reached in 2000 steps.

Examples

			The trajectory of 8 begins 8, 16, 77, 154, 605, 1111, 2222, 4444, 8888, 17776, 85547, 160105, 661166, 1322332, 3654563, 7309126, ...; at 7309126 it joins the (presumably) palindrome-free trajectory of A063048(7) = 10577, hence 8, 77, 1111, 2222, 4444, 8888, 661166 and 3654563 are the eight palindromes in the trajectory of 8 and 8 is a term.
		

Crossrefs

A090070 Numbers n such that there are (presumably) nine palindromes in the Reverse and Add! trajectory of n.

Original entry on oeis.org

4, 10, 11, 535, 1000, 1001, 10007, 10101, 20006, 30005, 50003, 60002, 70001, 80000, 80008, 100070, 110060, 120050, 130040, 140030, 150020, 160010, 170000, 170071, 200000, 200002, 1000003, 1000150, 1001001, 1010050, 1100140, 1110040, 1200130
Offset: 1

Views

Author

Klaus Brockhaus, Nov 20 2003

Keywords

Comments

For terms < 5000000 each palindrome is reached from the preceding one or from the start in at most 35 steps; after the presumably last one no further palindrome is reached in 2000 steps.

Examples

			The trajectory of 4 begins 4, 8, 16, 77, 154, 605, 1111, 2222, 4444, 8888, 17776, 85547, 160105, 661166, 1322332, 3654563, 7309126, ...; at 7309126 it joins the (presumably) palindrome-free trajectory of A063048(7) = 10577, hence 4, 8, 77, 1111, 2222, 4444, 8888, 661166 and 3654563 are the nine palindromes in the trajectory of 4 and 4 is a term.
		

Crossrefs

A090071 Numbers n such that there are (presumably) ten palindromes in the Reverse and Add! trajectory of n.

Original entry on oeis.org

2, 5, 10003, 30001, 40000, 40004, 100000, 100001, 2000000, 2000002
Offset: 1

Views

Author

Klaus Brockhaus, Nov 20 2003

Keywords

Comments

Additional terms are 20000000, 20000002, 200000000, 200000002, 2000000000, 2000000002, 10000000004, 10000100001, 20000000000, 20000000002, 20000000003, 30000000002, 40000000001, but it is not yet ascertained that they are consecutive.
For all terms given above each palindrome is reached from the preceding one or from the start in at most 35 steps; after the presumably last one no further palindrome is reached in 5000 steps.

Examples

			The trajectory of 2 begins 2, 4, 8, 16, 77, 154, 605, 1111, 2222, 4444, 8888, 17776, 85547, 160105, 661166, 1322332, 3654563, 7309126, ...; at 7309126 it joins the (presumably) palindrome-free trajectory of A063048(7) = 10577, hence 2, 4, 8, 77, 1111, 2222, 4444, 8888, 661166 and 3654563 are the ten palindromes in the trajectory of 2 and 2 is a term.
		

Crossrefs

A090072 Numbers n such that there are (presumably) eleven palindromes in the Reverse and Add! trajectory of n.

Original entry on oeis.org

1, 20000, 20002, 1000000, 1000001, 10000000, 10000001
Offset: 1

Views

Author

Klaus Brockhaus, Nov 20 2003

Keywords

Comments

Additional terms (cf. A090075) are 100000000, 100000001, 100010001, 1000000000, 1000000001, 10000000000, 10000000001, 100000000000, 100000000001, 1000000000000, 1000000000001, 1000001000001, 1000100010001, but it is not yet ascertained that they are consecutive.
For all terms given above each palindrome is reached from the preceding one or from the start in at most 35 steps; after the presumably last one no further palindrome is reached in 5000 steps.
Only two numbers are known whose Reverse and Add trajectory contains twelve palindromes: 10000 and 10001. It is conjectured that these are the only such numbers and it has been conjectured before (cf. A077594) that no Reverse and Add trajectory contains more than twelve palindromes.

Examples

			The trajectory of 1 begins 1, 2, 4, 8, 16, 77, 154, 605, 1111, 2222, 4444, 8888, 17776, 85547, 160105, 661166, 1322332, 3654563, 7309126, ...; at 7309126 it joins the (presumably) palindrome-free trajectory of A063048(7) = 10577, hence 1, 2, 4, 8, 77, 1111, 2222, 4444, 8888, 661166 and 3654563 are the eleven palindromes in the trajectory of 1 and 1 is a term.
		

Crossrefs

Previous Showing 11-20 of 32 results. Next