Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A129450
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A129450 a(n) = smallest perfect power that begins and ends with digit n, 1 <= n<= 9; one-digit numbers are excluded. +0
2
121, 21952, 343, 484, 5625, 676, 79507, 8242408, 9409 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(8) = 202^3 = 8242408; there is no smaller perfect power that begins and ends with digit 8.

PROGRAM

(MAGMA) PP:=[1] cat [ n: n in [2..9000000] | IsPower(n) ]; firstlast:=function(x); for n:=1 to #PP do k:=Intseq(PP[n], 10); if #k gt 1 and k[1] eq x and k[ #k] eq x then return PP[n]; end if; end for; return -1; end function; [ firstlast(d): d in [1..9] ]; /* Klaus Brockhaus, Apr 16 2007 */

CROSSREFS

Cf. A001597 (perfect powers), A075786 (palindromic perfect powers), A128827.

Adjacent sequences: A129447 A129448 A129449 this_sequence A129451 A129452 A129453

Sequence in context: A078277 A050740 A121013 this_sequence A082489 A028463 A013749

KEYWORD

nonn,base,fini,full

AUTHOR

J. M. Bergot (thekingfishb(AT)yahoo.ca), Apr 12 2007

EXTENSIONS

Edited, corrected and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Apr 16 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 11 13:47 EDT 2008. Contains 144830 sequences.


AT&T Labs Research