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.

Showing 1-4 of 4 results.

A071274 A071273 divided by 11.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 101, 192, 283, 374, 465, 556, 647, 738, 829, 20, 111, 202, 293, 384, 475, 566, 657, 748, 839, 30, 121, 212, 303, 394, 485, 576, 667, 758, 849, 40, 131, 222, 313, 404, 495, 586, 677, 768, 859, 50, 141, 232, 323, 414, 505, 596, 687, 778
Offset: 1

Views

Author

Amarnath Murthy, Jun 07 2002

Keywords

Examples

			a(12) = 2112, a(1235) = 53211235
		

Crossrefs

Cf. A071273.

Extensions

More terms from Sascha Kurz, Jan 02 2003

A083970 Numbers n such that concatenation (reverse of n) and n is divisible by n.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 18, 20, 22, 24, 25, 30, 33, 36, 40, 44, 45, 48, 50, 55, 60, 66, 70, 75, 77, 80, 88, 90, 99, 100, 101, 110, 111, 120, 121, 125, 131, 132, 141, 150, 151, 161, 165, 168, 171, 180, 181, 191, 198, 200, 202, 212, 220, 222, 225, 232
Offset: 1

Views

Author

Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 21 2003

Keywords

Comments

From Sam Alexander, Oct 21 2003: (Start)
All palindromes (in decimal) occur in this sequence. If we can multiply a(k) by j without having to resort to any carrying over, then ja(k) is also in the sequence.
Saying that R(n) concat n is divisible by n is equivalent to saying that (10^d)R(n) is divisible by n, where d = the number of digits in n. (End)
Contains A008919. - Robert Israel, Jul 27 2015

Examples

			12 is a member as 2112 is divisible by 12 and 13 is not as 3113 is not divisible by 13.
		

Crossrefs

Programs

  • Maple
    filter:= proc(n) local L,m,i,v;
        L:= convert(n,base,10);
         m:= nops(L);
        v:= add(10^(2*m-i)*L[i],i=1..m);
        evalb(v mod n = 0);
    end proc:
    select(filter, [$1..10000]); # Robert Israel, Jul 26 2015
  • Mathematica
    Select[ Range[ 250 ],
    Divisible[
       FromDigits[
        Flatten[ { Reverse[ IntegerDigits[ # ] ] ,
          IntegerDigits[ # ] } ] ], # ] & ]
    (* Kevin Southwick, Jul 25 2015 *)
    Select[Range[250],Divisible[IntegerReverse[#]*10^IntegerLength[#]+#,#]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Mar 28 2020 *)

Extensions

Corrected and extended by Sam Alexander, Oct 21 2003

A083971 Reverse of k concatenated with k, divided by k, where k = A083970(n).

Original entry on oeis.org

11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 101, 176, 341, 451, 11, 101, 176, 209, 11, 101, 176, 11, 101, 121, 176, 11, 101, 11, 101, 11, 77, 101, 11, 101, 11, 101, 11, 1001, 101, 1001, 176, 1001, 4169, 1001, 1751, 1001, 341, 1001, 1001, 3401, 5126, 1001, 451, 1001, 1001, 4501, 11, 1001, 1001
Offset: 1

Views

Author

Amarnath Murthy and Meenakshi Srikanth (menakan_s(AT)yahoo.com), May 21 2003

Keywords

Crossrefs

Programs

  • Maple
    f:= proc(n) local L,m,i,v;
        L:= convert(n,base,10);
         m:= nops(L);
        v:= add(10^(2*m-i)*L[i],i=1..m)/n+1;
        if v::integer then v else NULL fi
    end proc:
    map(f, [$1..1000]); # Robert Israel, Jul 26 2015
  • Mathematica
    A083970 =
      Select[ Range[ 250 ],
       Divisible[
         FromDigits[
          Flatten[ { Reverse[ IntegerDigits[ # ] ], IntegerDigits[ # ] } ] ], # ] & ];
    Table[ FromDigits[
       Flatten[ { Reverse[ IntegerDigits[ tmp ] ], IntegerDigits[ tmp ] } ] ] /
      tmp, {tmp, A083970} ]
    (* Kevin Southwick, Jul 26 2015 *)

Formula

Note that when n is a palindrome, R(n)=n, so R(n) concat n = (10^d)n + n, where d is the number of digits of n, and R(n) is the reverse of n. Dividing by n, we obtain (R(n) concat n)/n = 10^d + 1. - Sam Alexander, Oct 21 2003; edited by Kevin Southwick, Jul 26 2015

Extensions

Corrected and extended by Sam Alexander, Oct 21 2003
Name edited by Charles R Greathouse IV, Aug 05 2015

A071275 Palindromes in A071274.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 101, 111, 202, 121, 212, 303, 131, 222, 313, 404, 141, 232, 323, 414, 505, 151, 242, 333, 424, 515, 606, 161, 252, 343, 434, 525, 616, 707, 171, 262, 353, 444, 535, 626, 717, 808, 181, 272, 363, 454, 545, 636, 727, 818, 909, 10101
Offset: 1

Views

Author

Amarnath Murthy, Jun 07 2002

Keywords

Examples

			a(12) = 2112, a(1235) = 53211235
		

Crossrefs

Extensions

Corrected and extended by Sascha Kurz, Jan 02 2003
Showing 1-4 of 4 results.