This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A332812 #8 Mar 01 2020 20:45:57 %S A332812 3,6,7,12,13,14,19,24,26,27,28,29,35,37,38,43,48,52,53,54,56,58,61,63, %T A332812 65,70,71,74,75,76,79,86,89,95,96,101,104,106,107,108,112,113,116,117, %U A332812 122,126,130,131,139,140,142,143,145,147,148,150,151,152,158,163,165,171,172,173,175,178,181,185,190,192,193,199,202 %N A332812 Numbers n for which A156552(n) == 2 (mod 3). %C A332812 Contains neither squares nor twice squares. %H A332812 Antti Karttunen, <a href="/A332812/b332812.txt">Table of n, a(n) for n = 1..25000</a> %o A332812 (PARI) %o A332812 A156552(n) = {my(f = factor(n), p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res}; \\ From A156552 %o A332812 isA332812(n) = (2==(A156552(n)%3)); %Y A332812 Positions of 2's in A329903, of -1's in A332814. %Y A332812 Cf. A156552, A329604, A329609. %Y A332812 Cf. A031215 (a subsequence of prime terms). %Y A332812 Cf. also A332822. %K A332812 nonn %O A332812 1,1 %A A332812 _Antti Karttunen_, Feb 27 2020