login
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
OFFSET
0,2
COMMENTS
Conjecture: the sequence contains all primes > 3.
LINKS
FORMULA
a(n) = A000265(A066003(n)). - R. J. Mathar, May 05 2013
MAPLE
read(transforms) :
A225091 := proc(n)
A000265(digsum(7^n)) ;
end proc: # R. J. Mathar, May 05 2013
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
Vladimir Shevelev, Apr 27 2013
STATUS
approved