login
A224477
(5^(2^n) + (10^n)/2) mod 10^n: a sequence of trimorphic numbers ending (for n > 1) in 5.
3
0, 75, 125, 5625, 40625, 390625, 7890625, 62890625, 712890625, 3212890625, 68212890625, 418212890625, 4918212890625, 9918212890625, 759918212890625, 1259918212890625, 6259918212890625, 756259918212890625, 7256259918212890625, 42256259918212890625
OFFSET
1,2
COMMENTS
a(n) is the unique nonnegative integer less than 10^n such that a(n) + 2^(n-1) - 1 is divisible by 2^n and a(n) is divisible by 5^n.
FORMULA
a(n) = (A007185(n) + 10^n/2) mod 10^n.
PROG
(Sage) def A224477(n) : return crt(2^(n-1)+1, 0, 2^n, 5^n)
CROSSREFS
Cf. A033819. Converges to the 10-adic number A018247. The other trimorphic numbers ending in 5 are included in A007185, A216093, and A224478.
Sequence in context: A039485 A226475 A337251 * A045196 A118225 A260538
KEYWORD
nonn,base
AUTHOR
Eric M. Schmidt, Apr 07 2013
STATUS
approved