|
|
A067867
|
|
Numbers n such that n and 2^n end with the same 4 digits.
|
|
0
|
|
|
8736, 18736, 28736, 38736, 48736, 58736, 68736, 78736, 88736, 98736, 108736, 118736, 128736, 138736, 148736, 158736, 168736, 178736, 188736, 198736, 208736, 218736, 228736, 238736, 248736, 258736, 268736, 278736, 288736, 298736, 308736
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
a(n) = 8736 + 10^4(n-1).
a(n) = 2*a(n-1)-a(n-2). G.f.: 16*x*(546+79*x)/(1-x)^2. [Colin Barker, Dec 01 2012]
|
|
PROG
|
(PARI) isok(n) = (2^n - n) % 10000 == 0; \\ Michel Marcus, Nov 23 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|