login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A273383 Numbers x = concat(a,b) such that a^b ends with the digits of x. 3
387, 656, 856, 1616, 72343, 72347, 72896, 76929, 499499, 548096, 690496, 961216, 1963179, 2948736, 8241841, 9489809, 17426176, 36821221, 80760576, 92745289, 275690496, 314453125, 377763067, 411728896, 668376576, 813998599, 895225856, 964089209, 2431189707 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The last digits of 3^87 are ...853387, so 387 is a term.
MATHEMATICA
end[x_, y_, n_] := x>0 && y*Log[x] >= Log[n] && PowerMod[x, y, 10^ IntegerLength[ n]] == n; ok[n_] := Block[{p=1}, While[(p *= 10) < n &&
! end[Floor[n/p], Mod[n, p], n]]; p < n]; Select[Range[10^5], ok]
CROSSREFS
Sequence in context: A230274 A230475 A116329 * A038659 A232777 A259695
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, Jun 06 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 05:35 EDT 2024. Contains 371697 sequences. (Running on oeis4.)