|
|
A080172
|
|
Final digit of n-th Mersenne prime A000668(n).
|
|
6
|
|
|
3, 7, 1, 7, 1, 1, 7, 7, 1, 1, 7, 7, 1, 7, 7, 7, 1, 1, 1, 7, 1, 1, 1, 1, 1, 1, 1, 7, 7, 1, 7, 7, 1, 7, 1, 1, 1, 1, 1, 7, 7, 7, 1, 1, 7, 1, 1
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Distribution of final digit for Mersenne primes appears (naturally) to be different from distribution for regular primes. Unconfirmed 48th digit in sequence is 1 (awaiting confirmation of 48th Mersenne prime).
|
|
REFERENCES
|
G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers. 3rd ed., Oxford Univ. Press, 1954, p. 16.
|
|
LINKS
|
|
|
MAPLE
|
f:=n->if n mod 4 = 0 then 4 else n mod 4; fi; map(x->2^f(x)-1, s1);
|
|
MATHEMATICA
|
Mod[2^MersennePrimeExponent[Range[47]]-1, 10] (* Harvey P. Dale, Aug 09 2023 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,more,nonn
|
|
AUTHOR
|
Mark Dowdeswell (mark(AT)stats.wits.ac.za), Feb 04 2003
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|