|
|
A224478
|
|
(16^(5^n) + (10^n)/2 - 1) mod 10^n: a sequence of trimorphic numbers ending (for n > 1) in 5.
|
|
3
|
|
|
0, 25, 875, 4375, 59375, 609375, 2109375, 37109375, 287109375, 6787109375, 31787109375, 581787109375, 5081787109375, 90081787109375, 240081787109375, 8740081787109375, 93740081787109375, 243740081787109375, 2743740081787109375, 57743740081787109375
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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.
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (A016090(n) + 10^n/2 - 1) mod 10^n.
|
|
PROG
|
(Sage) def A224478(n) : return crt(2^(n-1)-1, 0, 2^n, 5^n)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|