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.

A272914 Sixth powers ending in digit 6.

Original entry on oeis.org

4096, 46656, 7529536, 16777216, 191102976, 308915776, 1544804416, 2176782336, 7256313856, 9474296896, 24794911296, 30840979456, 68719476736, 82653950016, 164206490176, 192699928576, 351298031616, 404567235136, 689869781056, 782757789696, 1265319018496, 1418519112256, 2194972623936
Offset: 1

Views

Author

Bruno Berselli, May 24 2016

Keywords

Comments

Other sequences of k-th powers ending in digit k are: A017281 (k=1), A017355 (k=3), A017333 (k=5), A017311 (k=7), A017385 (k=9). It is missing k=4 because the fourth powers end with 0, 1, 5 or 6.
Union of A017322 and A017346.
a(h)^(1/6) is a member of A068408 for h = 2, 4, 8, 12, 16, 20, 36, 76, ...

Crossrefs

Similar sequences (see comment): A017281, A017311, A017333, A017355, A017385.

Programs

  • Magma
    /* By definition: */ k:=6; [n^k: n in [0..200] | Modexp(n, k, 10) eq k];
    
  • Magma
    [(10*n-3*(-1)^n-5)^6/64: n in [1..30]];
    
  • Mathematica
    Table[(10 n - 3 (-1)^n - 5)^6/64, {n, 1, 30}]
  • Maxima
    makelist((10*n-3*(-1)^n-5)^6/64, n, 1, 30);
  • PARI
    vector(30, n, nn; (10*n-3*(-1)^n-5)^6/64)
    
  • Sage
    [(10*n-3*(-1)^n-5)^6/64 for n in (1..30)]
    

Formula

O.g.f.: 64*x*(64 + 665*x + 116536*x^2 + 140505*x^3 + 2023280*x^4 + 983830*x^5 + 4720240*x^6 + 983830*x^7 + 2023280*x^8 + 140505*x^9 + 116536*x^10 + 665*x^11 + 64*x^12)/((1 + x)^6*(1 - x)^7).
E.g.f.: (-8192 + 45*(91 + 182*x - 5250*x^2 + 16000*x^3 - 9375*x^4 + 1250*x^5)*exp(-x) + (4097 + 287000*x^2 + 1262500*x^3 + 1253125*x^4 + 375000*x^5 + 31250*x^6)*exp(x))/2.
a(n) = (10*n - 3*(-1)^n - 5)^6/64 = 64*A047221(n)^6.

A072495 Automorphic numbers: numbers k such that k^21 ends with k. Also m-morphic numbers for any m such that (m-1)/10 is an even integer not divisible by 10.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 16, 17, 19, 21, 23, 24, 25, 27, 28, 29, 31, 32, 33, 36, 37, 39, 41, 43, 44, 47, 48, 49, 51, 52, 53, 56, 57, 59, 61, 63, 64, 67, 68, 69, 71, 72, 73, 75, 76, 77, 79, 81, 83, 84, 87, 88, 89, 91, 92, 93, 96, 97, 99, 101, 107, 125, 143
Offset: 1

Views

Author

Benoit Cloitre, Oct 19 2002

Keywords

Comments

Definition: k is an m-morphic number if k^m ends with k. For this sequence m can be 21, 41, 61, ...
3-morphic numbers = 7-morphic numbers, see A033819; 5-morphic numbers = 13-morphic numbers, see A068407.

Crossrefs

Programs

  • PARI
    isok(n, m=21)={n == 0 || (n^m)%(10^(1+logint(n,10))) == n}

Extensions

Missing terms inserted by Sean A. Irvine, Oct 05 2024

A227071 Let s(m) = the set of k > 0 such that k^m ends with k. Then a(n) = least m such that s(m) = s(n).

Original entry on oeis.org

1, 2, 3, 2, 5, 6, 3, 2, 9, 2, 11, 2, 5, 2, 3, 6, 17, 2, 3, 2, 21, 2, 3, 2, 9, 26, 3, 2, 5, 2, 11, 2, 33, 2, 3, 6, 5, 2, 3, 2, 41, 2, 3, 2, 5, 6, 3, 2, 17, 2, 51, 2, 5, 2, 3, 6, 9, 2, 3, 2, 21, 2, 3, 2, 65, 6, 3, 2, 5, 2, 11, 2, 9, 2, 3, 26, 5, 2, 3, 2, 81, 2
Offset: 1

Views

Author

T. D. Noe, Jul 29 2013

Keywords

Comments

See A227070 for more details and for the numbers n such that n = a(n).
The entries in the b-file have been tentatively obtained by comparing the terms < 10^30 in the sets s(n). - Giovanni Resta, Jul 30 2013

Crossrefs

Cf. A003226 (n=2), A033819 (n=3), A068407 (n=5), A068408 (n=6).
Cf. A072496 (n=11), A072495 (n=21), A076650 (n=26).
Cf. A227070 (n such that n = a(n)).

Programs

  • Mathematica
    ts = {{}}; t2 = {1}; te = {1}; Do[s = Select[Range[0, 10^7], PowerMod[#, n, 10^IntegerLength[#]] == # &]; If[MemberQ[ts, s], AppendTo[t2, te[[Position[ts, s, 1, 1][[1, 1]]]]], AppendTo[ts, s]; AppendTo[te, n]; AppendTo[t2, n]], {n, 2, 82}]; t2

Formula

Conjecture: a(n+1) = A132741(n) + 1. - Eric M. Schmidt, Jul 30 2013

Extensions

Mathematica program and some entries corrected by Giovanni Resta, Jul 30 2013

A227070 Powers n such that the set s(n) = {k > 0 such that k^n ends with k} does not occur for smaller n.

Original entry on oeis.org

1, 2, 3, 5, 6, 9, 11, 17, 21, 26, 33, 41, 51, 65, 81, 101, 126, 129, 161, 201, 251, 257, 321, 401, 501, 513, 626, 641, 801, 1001, 1025, 1251, 1281, 1601, 2001, 2049, 2501, 2561, 3126, 3201, 4001, 4097, 5001, 5121, 6251, 6401, 8001, 8193, 10001
Offset: 1

Views

Author

T. D. Noe, Jul 29 2013

Keywords

Comments

These numbers might be called automorphic powers because the sets s(n) are called automorphic numbers. It appears that all numbers of the form 1 + 5^i are here. In fact, these appear to produce the only even numbers here. The set s(4) equals s(2). The set s(7) equals s(3). The set s(9) does not differ from s(5) until k = 10443. The set s(17) does not differ from s(9) until k = 108307. The sequence also has 126, 201, 251, 501, and 626, but there may be missing numbers.
Entries a(17)-a(49) have been tentatively obtained by comparing the terms < 10^30 in the sets s(n), for 2 <= n <= 10001. - Giovanni Resta, Jul 30 2013

Crossrefs

Cf. A003226 (n=2), A033819 (n=3), A068407 (n=5), A068408 (n=6).
Cf. A072496 (n=11), A072495 (n=21), A076650 (n=26).
Cf. A227071.

Programs

  • Mathematica
    ts = {}; t = {}; Do[s = Select[Range[11000000], PowerMod[#, n, 10^IntegerLength[#]] == # &]; If[! MemberQ[ts, s], Print[n]; AppendTo[ts, s]; AppendTo[t, n]], {n, 2, 101}]; t = Join[{1}, t]

Formula

Conjecture: a(n+1) = A003592(n) + 1. - Eric M. Schmidt, Jul 30 2013

Extensions

a(17)-a(49) from Giovanni Resta, Jul 30 2013
Showing 1-4 of 4 results.