login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A117993
Heptagonal numbers with only odd digits.
1
1, 7, 55, 1177, 3553, 9517, 11799, 13579, 17935, 31753, 71995, 93799, 97713, 117397, 135373, 371911, 377719, 599515, 733597, 777573, 1131313, 1331155, 1371591, 1555119, 3391315, 3731377, 3979717, 5131573, 7137715, 7333353, 9193933, 13755771, 13979515
OFFSET
1,2
MATHEMATICA
Select[Table[n (5n-3)/2, {n, 4000}], AllTrue[IntegerDigits[#], OddQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Feb 28 2015 *)
CROSSREFS
Sequence in context: A227544 A094656 A239156 * A055056 A305282 A197228
KEYWORD
base,nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), May 03 2006
EXTENSIONS
Corrected by Harvey P. Dale, Feb 28 2015
STATUS
approved