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”).

A058361
a(n) is the least k in A002977 with a gap of n. Also n + a(n) is the least k in A007448 which is repeated n times.
2
3, 1, 4, 15, 22, 121, 735, 31, 46, 22143, 4468, 67, 31455, 391, 2308, 447, 94, 33151, 16383, 139, 202, 7551, 5224, 787, 1595391, 3685, 580, 30591, 418, 42495, 1791, 607, 1342, 3217407, 1095166, 283, 398847, 32767, 365311, 88575, 1174, 6925, 12304383
OFFSET
1,1
LINKS
MATHEMATICA
k = {1}; Do[ k = Union[ Join[ k, 2k + 1, 3k + 1 ] ]; l = Length[ k ]; i = 1; While[ i < l && k[ [ i ] ] < 10^9, i++ ]; k = Take[ k, {1, i} ], {n, 1, 30} ]; f[ n_Integer ] := (i = 1; While[ k[ [ i + 1 ] ] - k[ [ i ] ] != n, i++ ]; k[ [ i ] ]); Table[ f[ n ], {n, 1, 84} ]
CROSSREFS
Sequence in context: A375854 A066712 A064809 * A112668 A016734 A272473
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Dec 16 2000
STATUS
approved