|
Search: id:A087502
|
|
|
| A087502 |
|
Smallest positive integer which when written in base n is doubled when the last digit is put first. |
|
+0 1
|
|
| 32, 18, 8, 10993850, 2129428800, 21, 5064320, 105263157894736842, 40, 64609423538, 5712, 65, 58774271029236501660840264682112, 67650, 96, 833, 586081355679130611935159482937228562988190880, 133
(list; graph; listen)
|
|
|
OFFSET
|
3,1
|
|
|
EXAMPLE
|
a(10)=105263157894736842 because 2*105263157894736842=210526315789473684, and no smaller number has this property.
|
|
MAPLE
|
A087502 := proc(n) local d, a; d := 1; a := n; while a>=n do d := d+1; a := denom((n^d-1)/(2*n-1)); od; return(max(2, a)*(n^d-1)/(2*n-1)); end proc;
|
|
CROSSREFS
|
Cf. A023094, A034089, A081463.
Adjacent sequences: A087499 A087500 A087501 this_sequence A087503 A087504 A087505
Sequence in context: A033352 A140387 A023094 this_sequence A070628 A070620 A070627
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Pontus von Bromssen (pontus.von.bromssen(AT)gmail.com), Sep 10 2003
|
|
|
Search completed in 0.002 seconds
|