login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A117304 Numbers with an even number of digits such that the second half is twice the first half. 2
12, 24, 36, 48, 1020, 1122, 1224, 1326, 1428, 1530, 1632, 1734, 1836, 1938, 2040, 2142, 2244, 2346, 2448, 2550, 2652, 2754, 2856, 2958, 3060, 3162, 3264, 3366, 3468, 3570, 3672, 3774, 3876, 3978, 4080, 4182, 4284, 4386, 4488, 4590, 4692, 4794, 4896 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
1020 is in the sequence because 20 = 2*10.
PROG
(Python)
from itertools import count, islice, takewhile
def agen():
for d in count(2, 2):
t = (int(str(k) + str(2*k)) for k in count(10**(d//2-1)))
yield from takewhile(lambda x: x < 10**d, t)
print(list(islice(agen(), 43))) # Michael S. Branicky, Dec 24 2021
CROSSREFS
Subsequence of A019550.
Sequence in context: A358693 A371413 A019550 * A022759 A335540 A091193
KEYWORD
nonn,base,easy
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 26 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 31 12:02 EDT 2024. Contains 374800 sequences. (Running on oeis4.)