login
A114807
The numbers 4^n-1 written in groups of three digits, with leading zeros omitted.
1
315, 632, 551, 23, 409, 516, 383, 655, 352, 621, 431, 48, 575, 419, 430, 316, 777, 215, 671, 88, 632, 684, 354, 551, 73, 741, 823, 429, 496, 729, 517, 179, 869, 183, 687, 194, 767, 352, 748, 779, 69, 431, 99, 511, 627, 775, 439, 804, 651, 110, 317, 592, 186, 44
OFFSET
1,1
EXAMPLE
3, 15, 63, 255, 1023, 4095, 16383, ...
MATHEMATICA
FromDigits[#] & /@ Partition[ Flatten@ IntegerDigits@ Table[4^n - 1, {n, 22}], 3] (* Robert G. Wilson v, Jun 23 2014 *)
PROG
(Python)
from itertools import count, islice
def bgen(): yield from (d for n in count(1) for d in str((1 << 2*n)-1))
def agen(): g = bgen(); yield from (int("".join(t)) for t in zip(g, g, g))
print(list(islice(agen(), 54))) # Michael S. Branicky, Dec 25 2022
CROSSREFS
KEYWORD
base,dumb,nonn
AUTHOR
Jonathan Vos Post, Feb 19 2006
EXTENSIONS
a(4) and following changed by Georg Fischer, Dec 25 2022
STATUS
approved