|
|
A225091
|
|
The odd part of the digit sum of 7^n.
|
|
2
|
|
|
1, 7, 13, 5, 7, 11, 7, 25, 31, 7, 43, 49, 37, 13, 29, 1, 13, 29, 73, 79, 19, 41, 97, 85, 73, 97, 7, 91, 133, 121, 59, 115, 103, 127, 71, 157, 17, 115, 65, 17, 71, 37, 17, 169, 175, 163, 187, 175, 17, 89, 23, 217, 49, 55, 217, 107, 211, 181, 241, 211, 199, 205
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
Conjecture: the sequence contains all primes > 3.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
read(transforms) :
|
|
MATHEMATICA
|
Map[#/(2^IntegerExponent[#, 2])&[Total[IntegerDigits[7^#]]]&, Range[0, 99]] (* Peter J. C. Moses, Apr 27 2013 *)
|
|
PROG
|
(PARI) a(n) = my(s = sumdigits(7^n)); s >> valuation(s, 2); \\ Michel Marcus, Dec 19 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|