|
|
A135928
|
|
Digital roots of the Mersenne primes.
|
|
2
|
|
|
3, 7, 4, 1, 1, 4, 1, 1, 1, 4, 4, 1, 4, 1, 1, 1, 1, 1, 4, 1, 4, 4, 4, 4, 4, 1, 1, 4, 1, 1, 1, 4, 4, 1, 4, 4, 4, 4, 1, 1, 1, 4, 1, 4, 4, 1, 4, 4
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
As a consequence of the fact that all prime numbers are of the form 6n-1 or 6n+1 for p>3, all the elements of this sequence after the second will be either 1 or 4, although there is no obvious pattern to their distribution. We can use this result to show that all Mersenne primes after the first are congruent to 1, modulo 6.
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The fourth Mersenne prime is 127, which has a digital root of 1. Hence a(4)=1.
|
|
MATHEMATICA
|
DigitalRoot[n_]:=FixedPoint[Plus@@IntegerDigits[ # ]&, n]; data1=Select[Range[4500], PrimeQ[2^#-1] &]; data2=2^#-1 &/@data1; DigitalRoot/@data2
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,hard,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
a(44)-a(48) from mersenne.org added by M Sayer, Jan 05 2023
|
|
STATUS
|
approved
|
|
|
|