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

A062269
Numbers k such that floor(gamma * k) is a square, where gamma is the Euler-Mascheroni constant (A001620).
1
0, 1, 2, 3, 7, 8, 16, 17, 28, 29, 44, 45, 63, 64, 85, 86, 111, 112, 141, 142, 174, 210, 211, 250, 251, 293, 294, 340, 341, 390, 391, 444, 445, 501, 502, 562, 563, 626, 627, 693, 694, 765, 839, 840, 917, 918, 998, 999, 1083, 1084, 1172, 1263, 1264, 1359, 1457
OFFSET
0,3
LINKS
MAPLE
readlib(issqr): for n from 0 to 2000 do if issqr(floor(gamma*n)) then printf(`%d, `, n) fi od:
MATHEMATICA
Select[Range[0, 1500], IntegerQ[Sqrt[Floor[# EulerGamma]]]&] (* Harvey P. Dale, Oct 08 2017 *)
PROG
(PARI) for(n=0, 200, if(issquare(floor(Euler*n)), print(n)))
(PARI) { default(realprecision, 30); n=-1; for (m=0, 10^9, if (issquare(floor(Euler*m)), write("b062269.txt", n++, " ", m); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 03 2009
CROSSREFS
Cf. A001620 (Euler-Mascheroni constant).
Sequence in context: A101755 A363847 A076550 * A244508 A060121 A002964
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jul 01 2001
EXTENSIONS
More terms from Francisco Salinas (franciscodesalinas(AT)hotmail.com), Jan 05 2002
STATUS
approved