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.

A130085 a(n) = A130179(n)/81.

Original entry on oeis.org

28, 96, 234, 437, 696, 1050, 1476, 1974, 2592, 3300, 4087, 4964, 5920, 7047, 8272, 9595, 11016, 12535, 14152, 15867, 17680, 19591, 21600, 23858, 26235, 28552, 31140, 33847, 36660, 39592, 42630, 45787, 49050, 52658, 56160, 59768, 63744, 67591
Offset: 1

Views

Author

Klaus Brockhaus, May 20 2007

Keywords

Crossrefs

Cf. A130179.

A130181 Largest k > 1 such that (sum of digits of k^n)*(sum of digits of k^(n+1)) = k, or 0 if no such k exists.

Original entry on oeis.org

486, 1215, 4374, 4672, 12862, 12649, 23408, 32761, 47477, 56852, 59048, 90746, 116864, 112346, 139472, 149705, 190512, 234247, 254015, 0, 322322, 331775, 391238, 446512, 454951, 546121, 530145, 316250, 613927, 763795, 786664, 809936
Offset: 1

Views

Author

Klaus Brockhaus, May 14 2007

Keywords

Examples

			For n = 2 the largest such k is 1215: 1215^2 = 1476225 and 1+4+7+6+2+2+5 = 27; 1215^3 = 1793613375and 1+7+9+3+6+1+3+3+7+5 = 45; 27*45 = 1215. Hence a(2) = 1215.
		

Crossrefs

Cf. A126783 (smallest k), A130179 (upper bound), A130180 (number of such k).

A126783 Smallest k > 1 such that (sum of digits of k^n)*(sum of digits of k^(n+1)) = k, or 0 if no such k exists.

Original entry on oeis.org

80, 80, 70, 3905, 4004, 700, 19278, 32761, 5600, 8100, 24940, 10600, 56330, 68040, 81760, 149705, 116180, 126360, 123580, 0, 65500, 311003, 205030, 114400, 454951, 317350, 312170, 296270, 359380, 332750, 699785, 723338, 498150, 499130, 901368
Offset: 1

Views

Author

Keywords

Comments

For each n there is an upper bound (see A130179) for values of k such that (sum of digits of k^n)*(sum of digits of k^(n+1)) = k, hence the number of such k is finite, possibly zero, (see A130180) and if the number is not zero there is a largest one (see A130181).

Examples

			For n = 2 the smallest such k is 80: 80^2 = 6400 and 6+4+0+0 = 10; 80^3 = 512000 and 5+1+2+0+0+0 = 8; 10*8 = 80. Hence a(2) = 80.
For n = 3 the smallest such k is 70: 70^3 = 343000 and 3+4+3+0+0+0 = 10; 70^4 = 24010000 and 2+4+0+1+0+0+0+0 = 7; 10*7 = 70. Hence a(3) = 70.
		

Crossrefs

Programs

  • Maple
    P:=proc(n) local a,i,j,k,w,x; for a from 1 by 1 to n do for i from 1 by 1 to n*n do w:=0;k:=i^a;j:=0;x:=i^(a+1); while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; while x>0 do j:=j+x-(trunc(x/10)*10); x:=trunc(x/10); od; if (i=w*j and i>1) then print(i); break; fi; od; od; end: P(1000);

Extensions

Edited and a(17) to a(35) added by Klaus Brockhaus, May 14 2007

A130180 Number of numbers k > 1 such that (sum of digits of k^n)*(sum of digits of k^(n+1)) = k.

Original entry on oeis.org

5, 3, 12, 2, 6, 8, 4, 1, 13, 8, 7, 14, 8, 3, 9, 1, 5, 12, 4, 0, 13, 4, 7, 7, 1, 4, 7, 2, 5, 8, 2, 4, 8, 7, 1, 10, 5, 2, 8, 4, 2, 10, 2, 6, 10, 2, 3, 6, 2, 4, 4, 2, 3, 9, 2, 3, 8, 1, 3, 8, 5, 3, 6, 4, 6, 8, 4, 3, 10, 0, 1, 6, 3, 6, 6, 4, 2, 7, 2, 1
Offset: 1

Views

Author

Klaus Brockhaus, May 14 2007

Keywords

Examples

			80, 1036, 1215 are the only numbers k > 1 such that (sum of digits of k^2)*(sum of digits of k^3) = k, hence a(2) = 3.
		

Crossrefs

Cf. A126783 (smallest k), A130179 (upper bound), A130181 (largest k).

Extensions

a(55)-a(80) and b-file from Lars Blomberg, Dec 11 2011
Showing 1-4 of 4 results.